summaryrefslogtreecommitdiffstats
path: root/net/net-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp/Makefile')
-rw-r--r--net/net-snmp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 613403b..2e54654 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= net-snmp
MAINTAINER= kuriyama@FreeBSD.org
+USE_REINPLACE= yes
USE_AUTOCONF_VER=213
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@@ -89,7 +90,8 @@ SHLIB_VERSION= 5
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
pre-install:
-@[ -f ${STARTUP_FILE} ] && \
OpenPOWER on IntegriCloud