aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2008-03-30 08:13:41 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2008-03-30 08:13:41 +0000
commit44c4221d20352740c2ddfa17b3d7c73639ac75be (patch)
tree0a7cdea2d01f927ae0bc17ebab0357cc72fd7efb /net-mgmt/net-snmp/Makefile
parentdba780e90b4e3e87fa3046c9e34bc374f186aafc (diff)
downloadports-44c4221d20352740c2ddfa17b3d7c73639ac75be.tar.gz
ports-44c4221d20352740c2ddfa17b3d7c73639ac75be.zip
Notes
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 9512cfb6d9fc..b6756a0c8e41 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
@@ -24,13 +24,14 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-local:Makefile.in
.if defined(WITH_TKMIB)
RUN_DEPEND= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
.endif
-PATCH_DEPENDS= ${LIBTOOL_DEPENDS}
-USE_AUTOTOOLS= autoconf:261 libtool:15
+GNU_CONFIGURE= yes
USE_RC_SUBR= snmpd.sh snmptrapd.sh
USE_OPENSSL= yes
-INSTALLS_SHLIB= yes
-.if !defined(WITHOUT_PERL)
+USE_LDCONFIG= yes
+.if defined(WITHOUT_PERL)
+USE_PERL5_BUILD=yes
+.else
USE_PERL5= yes
.endif
@@ -214,7 +215,6 @@ pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG}
- @${ECHO_MSG} "WITH_INETADDRESS_HACK=yes builds with the inetaddress hack"
@${ECHO_MSG} "WITH_TKMIB=yes Install a graphical Perl/Tk/SNMP based mib browser"
@${ECHO_MSG} "WITHOUT_DUMMY_VALUES=yes Provide 'placeholder' dummy values where"
@${ECHO_MSG} " the necessary information is not available."
@@ -236,9 +236,7 @@ pre-everything::
@${ECHO_MSG} " agent"
@${ECHO_MSG}
-post-patch: patch-script-files
-
-patch-script-files:
+post-patch:
.for filename in ${SCRIPT_FILES}
@${REINPLACE_CMD} ${SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/local/${filename}