From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 16 00:40:14 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9A7B16A4B3 for ; Thu, 16 Oct 2003 00:40:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A254643FBD for ; Thu, 16 Oct 2003 00:40:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9G7eCFY092107 for ; Thu, 16 Oct 2003 00:40:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9G7eCN1092106; Thu, 16 Oct 2003 00:40:12 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 16 Oct 2003 00:40:12 -0700 (PDT) Resent-Message-Id: <200310160740.h9G7eCN1092106@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matt Peterson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8CA916A4BF for ; Thu, 16 Oct 2003 00:37:54 -0700 (PDT) Received: from mail.forko.com (forko.com [206.14.189.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF7C43FDD for ; Thu, 16 Oct 2003 00:37:54 -0700 (PDT) (envelope-from matt@mail.forko.com) Received: (qmail 26387 invoked by uid 1000); 16 Oct 2003 00:33:50 -0700 Message-Id: <20031016073350.26386.qmail@mail.forko.com> Date: 16 Oct 2003 00:33:50 -0700 From: Matt Peterson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Matt Peterson Subject: ports/58109: net/net-snmp add in WITHOUT_PERL support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matt Peterson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 07:40:14 -0000 >Number: 58109 >Category: ports >Synopsis: net/net-snmp add in WITHOUT_PERL support >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 Oct 16 00:40:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Matt Peterson >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: Bay Area Wireless Users Group >Environment: >Description: This diff adds support for a WITHOUT_PERL make option, this grew out of a need for SNMP on an embedded system w/o the Perl bloat. The port maintainer may wish to re-work this for WITH_PERL, either direction works for me ;) make WITHOUT_PERL=1 BATCH=1 NET_SNMP_SYS_LOCATION=foo@boo.org package >How-To-Repeat: >Fix: --- net-snmp.old/Makefile Wed Oct 15 19:41:15 2003 +++ net-snmp/Makefile Thu Oct 16 00:29:22 2003 @@ -14,7 +14,6 @@ MAINTAINER= kuriyama@FreeBSD.org COMMENT= An extendable SNMP implementation -USE_PERL5= yes USE_REINPLACE= yes USE_AUTOCONF_VER=213 USE_LIBTOOL= yes @@ -23,16 +22,24 @@ LIBTOOLFLAGS= --disable-ltlibs --release-ignore NO_LATEST_LINK= yes +.if !defined(WITHOUT_PERL) +USE_PERL5= yes +.endif + CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \ - --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \ - --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \ - --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ - --with-logfile="${NET_SNMP_LOGFILE}" \ - --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-perl-modules \ - --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" + --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \ + --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \ + --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ + --with-logfile="${NET_SNMP_LOGFILE}" \ + --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ + --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" + +.if !defined(WITHOUT_PERL) +CONFIGURE_ARGS+= --with-perl-modules +.endif + .if defined(BATCH) -CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where +CONFIGURE_ARGS+= --with-defaults .else IS_INTERACTIVE= yes .endif >Release-Note: >Audit-Trail: >Unformatted: