diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 03:05:48 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 03:05:48 +0000 |
commit | 5b96d0a9567e649c783ac418d8e2bde2f6adfc22 (patch) | |
tree | 8b423bf71fff78a00604f3c63e5c97500c8a780a /net-p2p | |
parent | New port p5-xmltv version 0.5.2: Set of programs to process TV (diff) |
PERL -> REINPLACE
and russian/mod_ssl has USE_PERL5=yes
Notices on: bento
Notes
Notes:
svn path=/head/; revision=69429
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/edonkey-tool-slist/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/linux-agsatellite/Makefile | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/net-p2p/edonkey-tool-slist/Makefile b/net-p2p/edonkey-tool-slist/Makefile index 1e24678e21c5..6b80b296f552 100644 --- a/net-p2p/edonkey-tool-slist/Makefile +++ b/net-p2p/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/net-p2p/linux-agsatellite/Makefile b/net-p2p/linux-agsatellite/Makefile index 2559e2afc42d..141838c3c28c 100644 --- a/net-p2p/linux-agsatellite/Makefile +++ b/net-p2p/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 |