pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46689: pkgsrc 2012Q1 devel/ruby-thor does not install in multiple ruby version



>Number:         46689
>Category:       pkg
>Synopsis:       pkgsrc 2012Q1 devel/ruby-thor does not install in multiple 
>ruby version
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 13:00:07 +0000 2012
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 5.1.2
>Organization:
Dr. Nagler & Company GmbH
>Environment:
        
        
System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST 
2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
>Description:
        Due to a back compartility check, the devel/ruby-thor package
        cannot be installed into multiple ruby-version.
        It is also affected by the problem reported in PR 46685 affecting
        the bin/thor and bin/rake2thor in the PLIST.
>How-To-Repeat:
        Try to install it into multiple versions
>Fix:
        The following patch will solve the incorrect conflict check.
        Remark: the problem with the duplicate binary is not fixed with
                this patch here - see PR 46685


diff -u -r1.1 Makefile
--- Makefile    2012/07/11 12:55:28     1.1
+++ Makefile    2012/07/11 12:55:37
@@ -8,7 +8,7 @@
 COMMENT=       Scripting framework that replaces rake, sake and rubigen
 LICENSE=       mit
 
-CONFLICTS+=    ruby[1-9][0-9]-thor-[0-9]*
+CONFLICTS+=    ${RUBY_PKGPREFIX}-thor-[0-9]*
 
 # Ruby on Rails 3.2 require thor<0.15.
 


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index