pkgsrc-Bugs archive

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

pkg/46687: www/ruby-erubis failed to install into multiple ruby-version



>Number:         46687
>Category:       pkg
>Synopsis:       www/ruby-erubis failed to install into multiple ruby-version
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 11:20:00 +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 www/ruby-erubis package
        cannot be installed into multiple ruby-version.
        It is also affected by the problem reported in PR 46685 affecting
        the bin/erubis 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

--- Makefile.orig       2012-07-11 12:56:14.000000000 +0200
+++ Makefile    2012-07-11 12:56:29.000000000 +0200
@@ -11,7 +11,7 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-abstract>=1.0.0:../../devel/ruby-abstract
 
-CONFLICTS+=    ruby[1-9][0-9]-erubis-[0-9]* erubis-[0-9]*
+CONFLICTS+=    ${RUBY_PKGPREFIX}-erubis-[0-9]* erubis-[0-9]*
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index