From olivleh1@kartoffel.salatschuessel.net  Thu Sep  2 21:54:50 2004
Return-Path: <olivleh1@kartoffel.salatschuessel.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0E78A16A4CF; Thu,  2 Sep 2004 21:54:50 +0000 (GMT)
Received: from kartoffel.salatschuessel.net (pD95FD928.dip.t-dialin.net [217.95.217.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 1204943D49; Thu,  2 Sep 2004 21:54:49 +0000 (GMT)
	(envelope-from olivleh1@kartoffel.salatschuessel.net)
Received: from kartoffel.salatschuessel.net (localhost [127.0.0.1])
	by kartoffel.salatschuessel.net (8.12.11/8.12.11) with ESMTP id i82Lsg3c060893;
	Thu, 2 Sep 2004 23:54:42 +0200 (CEST)
	(envelope-from olivleh1@kartoffel.salatschuessel.net)
Received: (from olivleh1@localhost)
	by kartoffel.salatschuessel.net (8.12.11/8.12.11/Submit) id i82LsgXb060875;
	Thu, 2 Sep 2004 23:54:42 +0200 (CEST)
	(envelope-from olivleh1)
Message-Id: <200409022154.i82LsgXb060875@kartoffel.salatschuessel.net>
Date: Thu, 2 Sep 2004 23:54:42 +0200 (CEST)
From: Oliver Lehmann <oliver@freebsd.org>
Reply-To: Oliver Lehmann <oliver@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Oliver Lehmann <oliver@freebsd.org>
Subject: really disable perl when WITHOUT_PERL is definied for net-snmp
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71315
>Category:       ports
>Synopsis:       really disable perl when WITHOUT_PERL is definied for net-snmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 02 22:00:46 GMT 2004
>Closed-Date:    Mon Nov 29 04:09:55 GMT 2004
>Last-Modified:  Mon Nov 29 04:09:55 GMT 2004
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->kuriyama 
Responsible-Changed-By: oliver 
Responsible-Changed-When: Thu Sep 2 22:02:19 GMT 2004 
Responsible-Changed-Why:  
assign to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71315 
State-Changed-From-To: open->closed 
State-Changed-By: kuriyama 
State-Changed-When: Mon Nov 29 04:09:45 GMT 2004 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71315 
>Unformatted:
