diff options
author | zuntum <zuntum> | 2001-12-23 07:57:43 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-12-23 07:57:43 +0000 |
commit | 9cfdaf7e41ac5dd017d0314c4915ab9190deed65 (patch) | |
tree | 831697f26cef4ad11b39fa9904b47aa8887c7a7c /net/ipcalc | |
parent | d55267ba696213671a216e1e15b5e3b9f38c280b (diff) | |
download | pkgsrc-9cfdaf7e41ac5dd017d0314c4915ab9190deed65.tar.gz |
Use REPLACE_PERL instead of ${SED} in post-patch
Diffstat (limited to 'net/ipcalc')
-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 |