aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp4
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:05:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:05:48 +0000
commit5b96d0a9567e649c783ac418d8e2bde2f6adfc22 (patch)
tree8b423bf71fff78a00604f3c63e5c97500c8a780a /net/net-snmp4
parent3e84456d0e9ec790ccd9350f80ea60af92eb7d68 (diff)
downloadports-5b96d0a9567e649c783ac418d8e2bde2f6adfc22.tar.gz
ports-5b96d0a9567e649c783ac418d8e2bde2f6adfc22.zip
Notes
Diffstat (limited to 'net/net-snmp4')
-rw-r--r--net/net-snmp4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index 2c183f3c5ae5..63af22705d76 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -18,6 +18,7 @@ MASTER_SITE_SUBDIR= net-snmp
MAINTAINER= kuriyama@FreeBSD.org
USE_AUTOCONF_VER=213
+USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
@@ -69,7 +70,8 @@ SHLIB_VERSION= 4
PLIST_SUB+= shlib=${SHLIB_VERSION}
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${WRKSRC}/aclocal.m4
post-install:
@( cd ${PREFIX}/bin && strip ${BIN} )