diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-12-23 07:57:43 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-12-23 07:57:43 +0000 |
commit | c54456c44785cf960a70a82a6edf96dd8f001253 (patch) | |
tree | 831697f26cef4ad11b39fa9904b47aa8887c7a7c /net/ipcalc/Makefile | |
parent | 878cf85901dc3b833751b53751a379e3521bcc8f (diff) | |
download | pkgsrc-c54456c44785cf960a70a82a6edf96dd8f001253.tar.gz |
Use REPLACE_PERL instead of ${SED} in post-patch
Diffstat (limited to 'net/ipcalc/Makefile')
-rw-r--r-- | net/ipcalc/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/ipcalc/Makefile b/net/ipcalc/Makefile index e95284497a2..58f9a3466be 100644 --- a/net/ipcalc/Makefile +++ b/net/ipcalc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/07/04 21:43:15 zuntum Exp $ +# $NetBSD: Makefile,v 1.3 2001/12/23 07:57:43 zuntum Exp $ # DISTNAME= ipcalc.pl @@ -15,13 +15,9 @@ EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} WRKSRC= ${WRKDIR} USE_PERL5= YES +REPLACE_PERL= ${WRKSRC}/ipcalc.pl NO_BUILD= YES -post-patch: - ${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \ - ${WRKSRC}/ipcalc.pl > ${WRKSRC}/ipcalc.pl.done - ${MV} ${WRKSRC}/ipcalc.pl.done ${WRKSRC}/ipcalc.pl - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ipcalc.pl ${PREFIX}/bin/ipcalc |