summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/jumpgate/Makefile3
-rw-r--r--net/linux-agsatellite/Makefile3
-rw-r--r--net/net-snmp/Makefile4
-rw-r--r--net/net-snmp4/Makefile4
-rw-r--r--net/sendip/Makefile1
5 files changed, 11 insertions, 4 deletions
diff --git a/net/jumpgate/Makefile b/net/jumpgate/Makefile
index bcbdf6a..6407f5d 100644
--- a/net/jumpgate/Makefile
+++ b/net/jumpgate/Makefile
@@ -14,9 +14,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= leeym@FreeBSD.org
ALL_TARGET= generic
+USE_REINPLACE= yes
pre-build:
- ${PERL} -pi.orig -e "s@gcc@${CC}@g; s@-Wall@-Wall ${CFLAGS}@g" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s@gcc@${CC}@g; s@-Wall@-Wall ${CFLAGS}@g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/net/linux-agsatellite/Makefile b/net/linux-agsatellite/Makefile
index 2559e2a..141838c 100644
--- a/net/linux-agsatellite/Makefile
+++ b/net/linux-agsatellite/Makefile
@@ -18,6 +18,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
USE_LINUX= yes
NO_BUILD= yes
+USE_REINPLACE= yes
STRIP=
RESTRICTED= no response from developer on licensing issues
@@ -26,7 +27,7 @@ DOCS= german_readme.txt license.txt readme.txt
BRANDELF= /usr/bin/brandelf
post-patch:
- @${PERL} -pi -e "s|\r\n|\n|;s|email|username|" ${WRKSRC}/*.txt
+ @${REINPLACE_CMD} -e "s|\r\n|\n|;s|email|username|" ${WRKSRC}/*.txt
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
${WRKDIR}/wrapper.sh
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} ] && \
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index 2c183f3..63af227 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} )
diff --git a/net/sendip/Makefile b/net/sendip/Makefile
index 2fc7cba..a71fbdc 100644
--- a/net/sendip/Makefile
+++ b/net/sendip/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= joseph@randomnetworks.com
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_PERL5= yes
MAN1= sendip.1
OpenPOWER on IntegriCloud