aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Net-IP
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-12-04 18:15:10 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-12-04 18:15:10 +0000
commitd0251b8742160b2c8aaff72b82bc0b8c5bd38920 (patch)
tree739721f16b58a737b54ab6a435ef159ea3331bd1 /net-mgmt/p5-Net-IP
parent5958de1076dae13ddcd85792e9441cc869737477 (diff)
downloadports-d0251b8742160b2c8aaff72b82bc0b8c5bd38920.tar.gz
ports-d0251b8742160b2c8aaff72b82bc0b8c5bd38920.zip
Notes
Diffstat (limited to 'net-mgmt/p5-Net-IP')
-rw-r--r--net-mgmt/p5-Net-IP/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/net-mgmt/p5-Net-IP/Makefile b/net-mgmt/p5-Net-IP/Makefile
index 0e47330096df..e9c7ef73c650 100644
--- a/net-mgmt/p5-Net-IP/Makefile
+++ b/net-mgmt/p5-Net-IP/Makefile
@@ -18,11 +18,7 @@ post-configure:
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
post-patch:
- @${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
- @${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
- ${WRKSRC}/IP.pm
- @${CP} ${WRKSRC}/ipcount ${WRKSRC}/ipcount.presed
- @${SED} -e "76s#count#count = 0#" ${WRKSRC}/ipcount.presed > \
- ${WRKSRC}/ipcount
+ ${REINPLACE_CMD} "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm
+ ${REINPLACE_CMD} "76s#count#count = 0#" ${WRKSRC}/ipcount
.include <bsd.port.mk>