pkgsrc-Bugs archive

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

pkg/45205: pkgsrc-2011Q2 - x11/rxvt-unicode - Perl dependency optional but forced



>Number:         45205
>Category:       pkg
>Synopsis:       pkgsrc-2011Q2 - x11/rxvt-unicode - Perl dependency optional 
>but forced
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 01:45:00 +0000 2011
>Originator:     Matthew Mondor
>Release:        NetBSD 5.1_STABLE
>Organization:
>Environment:
System: NetBSD behemoth.xisop 5.1_STABLE NetBSD 5.1_STABLE (GENERIC_MM) #0: Mon 
Aug 1 12:19:58 EDT 2011 
root@behemoth.xisop:/usr/obj/sys/arch/i386/compile/GENERIC_MM i386
Architecture: i386
Machine: i386
>Description:

Although perl support for rxvt-unicode is optional, even if disabled
the runtime perl dependency was forced.

>How-To-Repeat:

Build x11/rxvt-unicode without perl support

>Fix:
Apply the attached diff

--MP_/smkK3AsTnPKk9YtgL3G6JGE
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=x11-rxvt-unicode-diff.txt

Index: x11/rxvt-unicode/Makefile
===================================================================
RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/rxvt-unicode/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- x11/rxvt-unicode/Makefile   21 Aug 2010 16:37:14 -0000      1.28
+++ x11/rxvt-unicode/Makefile   27 Jul 2011 02:16:47 -0000
@@ -15,7 +15,6 @@ LICENSE=              gnu-gpl-v2
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config
-USE_TOOLS+=            perl:run
 USE_FEATURES+=         snprintf
 
 CONFIGURE_ENV+=                ac_cv_path_TIC=no
Index: x11/rxvt-unicode/options.mk
===================================================================
RCS file: 
/nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/rxvt-unicode/options.mk,v
retrieving revision 1.6
diff -u -p -r1.6 options.mk
--- x11/rxvt-unicode/options.mk 12 Apr 2008 22:43:15 -0000      1.6
+++ x11/rxvt-unicode/options.mk 27 Jul 2011 02:16:37 -0000
@@ -12,6 +12,7 @@ CONFIGURE_ARGS+=      --with-term=rxvt
 
 PLIST_VARS+=           perl
 .if !empty(PKG_OPTIONS:Mperl)
+USE_TOOLS+=            perl:run
 CONFIGURE_ARGS+=       --enable-perl
 PLIST.perl=            yes
 .include "../../lang/perl5/buildlink3.mk"

--MP_/smkK3AsTnPKk9YtgL3G6JGE--

>Unformatted:
 --MP_/smkK3AsTnPKk9YtgL3G6JGE
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 


Home | Main Index | Thread Index | Old Index