summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/edonkey-tool-slist/Makefile5
-rw-r--r--misc/rfc/Makefile4
2 files changed, 6 insertions, 3 deletions
diff --git a/misc/edonkey-tool-slist/Makefile b/misc/edonkey-tool-slist/Makefile
index 1e24678..6b80b29 100644
--- a/misc/edonkey-tool-slist/Makefile
+++ b/misc/edonkey-tool-slist/Makefile
@@ -15,10 +15,11 @@ DISTNAME= ed2k_slist-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
WRKSRC= ${WRKDIR}/ed2k_slist
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's|\r\n|\n|' ${WRKSRC}/*.[ch]
- @${PERL} -pi -e 's|(#include <unistd.h>)|\1\n#include\
+ @${REINPLACE_CMD} -e 's|\r\n|\n|' ${WRKSRC}/*.[ch]
+ @${REINPLACE_CMD} -e 's|(#include <unistd.h>)|\1\n#include\
<sys/time.h>|' ${WRKSRC}/linux_net.c
# I could have written a Makefile but I would rather
diff --git a/misc/rfc/Makefile b/misc/rfc/Makefile
index fce76d3..6d9ed3c 100644
--- a/misc/rfc/Makefile
+++ b/misc/rfc/Makefile
@@ -15,10 +15,12 @@ MAINTAINER= jedgar@FreeBSD.org
RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m
NO_BUILD= yes
+USE_REINPLACE= yes
+
MAN1= rfc.1
do-configure:
- @${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
+ @${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap|' \
${WRKSRC}/${PORTNAME}-${PORTVERSION}
OpenPOWER on IntegriCloud