diff options
Diffstat (limited to 'net-mgmt/p5-Net-IP')
-rw-r--r-- | net-mgmt/p5-Net-IP/Makefile | 8 |
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> |