diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-08 08:59:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-08 08:59:28 +0000 |
commit | 680174eb06d972473daf929f9db647c92c999039 (patch) | |
tree | db86d2f0388c19612850dc15842cb25dcb12db3b /net-mgmt | |
parent | 2395e2f49c8480cc991c6e6d6f6315c291be51ef (diff) |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/mbrowse/Makefile | 16 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/pkg-descr | 4 |
3 files changed, 7 insertions, 23 deletions
diff --git a/net-mgmt/mbrowse/Makefile b/net-mgmt/mbrowse/Makefile index 7f2c1b507ae0..cb1863b1ef09 100644 --- a/net-mgmt/mbrowse/Makefile +++ b/net-mgmt/mbrowse/Makefile @@ -14,23 +14,13 @@ MASTER_SITES= http://www.kill-9.org/mbrowse/ MAINTAINER= ports@FreeBSD.org COMMENT= An SNMP MIB Browser for X -.if defined(WITH_NET_SNMP4) -LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4 -.else LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp -.endif GNU_CONFIGURE= yes PLIST_FILES= bin/mbrowse USE_GNOME= gtk12 gnometarget -CONFIGURE_ARGS+= --with-snmp-prefix=${PREFIX} - -.if defined(WITH_NET_SNMP4) -CONFIGURE_ARGS+= --with-snmp-type=ucd -.else -CONFIGURE_ENV+= LDFLAGS="`net-snmp-config --libs`" \ - CPPFLAGS="`net-snmp-config --cflags`" -CONFIGURE_ARGS+= --with-snmp-type=net -.endif +CONFIGURE_ARGS= --with-snmp-prefix=${PREFIX} --with-snmp-type=net +CONFIGURE_ENV= LDFLAGS="`net-snmp-config --libs`" \ + CPPFLAGS="`net-snmp-config --cflags`" .include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP-Util/Makefile b/net-mgmt/p5-SNMP-Util/Makefile index a45237ca4097..d6c7f9409a67 100644 --- a/net-mgmt/p5-SNMP-Util/Makefile +++ b/net-mgmt/p5-SNMP-Util/Makefile @@ -15,15 +15,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl modules to perform SNMP set,get,walk,next,walk_hash etc -# -# Define WITH_NETSNMP4 to use net-mgmt/net-snmp4 instead of net-mgmt/net-snmp. -# -.if !defined(WITH_NETSNMP4) RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net-mgmt/net-snmp -EXTRA_PATCHES+= ${PATCHDIR}/extra-net-snmp-patch-Makefile.PL -.else -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net-mgmt/p5-SNMP -.endif + +EXTRA_PATCHES= ${PATCHDIR}/extra-net-snmp-patch-Makefile.PL PERL_CONFIGURE= yes diff --git a/net-mgmt/p5-SNMP-Util/pkg-descr b/net-mgmt/p5-SNMP-Util/pkg-descr index 0e94a34f7fc0..2fe36208ce19 100644 --- a/net-mgmt/p5-SNMP-Util/pkg-descr +++ b/net-mgmt/p5-SNMP-Util/pkg-descr @@ -1,3 +1,3 @@ This Perl library is a set of utilities for configuring and monitoring -SNMP based devices. This library requires the UCD port of SNMP and the -SNMP.pm module written by Joe Marzot. +SNMP based devices. This library requires the Net-SNMP implementation of SNMP +and the SNMP.pm module written by Joe Marzot. |