ports/71315: really disable perl when WITHOUT_PERL is definied for net-snmp

Oliver Lehmann oliver at FreeBSD.org
Thu Sep 2 22:00:47 UTC 2004


>Number:         71315
>Category:       ports
>Synopsis:       really disable perl when WITHOUT_PERL is definied for net-snmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 02 22:00:46 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jun 4 20:32:48 CEST 2004 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL i386


>Description:
	perl modules are getting installed if perl is installed on the system.
	WITHOUT_PERL has no effects because configure is auto-detecting perl
	and will install the modules... but the modules are not added to 
	+CONTENTS because WITHOUT_PERL was specified....
	So, disable perl in configure stage if WITHOUT_PERL was specified
>How-To-Repeat:
>Fix:


--- patch-net-mgmt::net-snmp4::Makefile begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/net-snmp/Makefile,v
retrieving revision 1.117
diff -u -r1.117 Makefile
--- Makefile	31 Aug 2004 02:06:15 -0000	1.117
+++ Makefile	2 Sep 2004 21:51:59 -0000
@@ -60,6 +60,7 @@
 
 .if defined(WITHOUT_PERL)
 PLIST_SUB+=	WITH_PERL="@comment "
+CONFIGURE_ARGS+=--disable-embedded-perl --without-perl-modules
 .else
 CONFIGURE_ARGS+=--enable-embedded-perl --with-perl-modules
 PLIST_SUB+=	WITH_PERL=""
--- patch-net-mgmt::net-snmp4::Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list