aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-14 18:51:45 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-14 18:51:45 +0000
commitfb81ec429a778768b4fa043982436db483317c49 (patch)
treea794e7d499408e62dab25162274b9ec568fdecac
parent8a11a6352bfbc192dbbc2f950dc72caf0f873464 (diff)
downloadports-fb81ec429a778768b4fa043982436db483317c49.tar.gz
ports-fb81ec429a778768b4fa043982436db483317c49.zip
Notes
-rw-r--r--net-mgmt/scdp/Makefile3
-rw-r--r--net/scdp/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/scdp/Makefile b/net-mgmt/scdp/Makefile
index 9c60bd24794e..723f3cc0e6c4 100644
--- a/net-mgmt/scdp/Makefile
+++ b/net-mgmt/scdp/Makefile
@@ -17,8 +17,9 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
+ ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
.include <bsd.port.mk>
diff --git a/net/scdp/Makefile b/net/scdp/Makefile
index 9c60bd24794e..723f3cc0e6c4 100644
--- a/net/scdp/Makefile
+++ b/net/scdp/Makefile
@@ -17,8 +17,9 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
+ ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
.include <bsd.port.mk>