diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 03:05:48 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 03:05:48 +0000 |
commit | 011f3a2a13f514a55dae8ea737db2d626983191d (patch) | |
tree | ef9e57574419ab4a95c9adca518cce23e6a78895 /net-p2p | |
parent | f2bc149e9a1f30296a05f9c708c6729f700c8234 (diff) | |
download | FreeBSD-ports-011f3a2a13f514a55dae8ea737db2d626983191d.zip FreeBSD-ports-011f3a2a13f514a55dae8ea737db2d626983191d.tar.gz |
PERL -> REINPLACE
and russian/mod_ssl has USE_PERL5=yes
Notices on: bento
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 1e24678..6b80b29 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 2559e2a..141838c 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 |