diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-23 06:04:01 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-23 06:04:01 +0000 |
commit | e28630ead26369af9ef1d199ae48177e0e2486ae (patch) | |
tree | c38809fe289a3882c872d743e8cfe274cca486f2 /net-mgmt | |
parent | add kile 1.0 (diff) |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39668
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes:
svn path=/head/; revision=61772
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/angst/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/gps/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/oproute/Makefile | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/net-mgmt/angst/Makefile b/net-mgmt/angst/Makefile index 85994007f508..2d6a4542d619 100644 --- a/net-mgmt/angst/Makefile +++ b/net-mgmt/angst/Makefile @@ -18,10 +18,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config +USE_REINPLACE= yes + MAN8= angst.8 post-patch: - @${PERL} -pi -e "s,^CC,#CC,g ; \ + @${REINPLACE_CMD} -e "s,^CC,#CC,g ; \ s,^CFLAGS,#CFLAGS,g ; \ s,libnet-config,${LIBNET_CONFIG},g" ${WRKSRC}/Makefile diff --git a/net-mgmt/gps/Makefile b/net-mgmt/gps/Makefile index ece2313172bc..0a08910782c5 100644 --- a/net-mgmt/gps/Makefile +++ b/net-mgmt/gps/Makefile @@ -15,12 +15,13 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" USE_GMAKE= yes post-patch: - @${PERL} -pi -e "s,-Wall -O3,${CFLAGS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s,-Wall -O3,${CFLAGS},g" ${WRKSRC}/configure .if !defined(NOPORTDOCS) post-install: diff --git a/net-mgmt/oproute/Makefile b/net-mgmt/oproute/Makefile index 18f7900b1153..fb7444b2cf9b 100644 --- a/net-mgmt/oproute/Makefile +++ b/net-mgmt/oproute/Makefile @@ -14,7 +14,9 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes + post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile .include <bsd.port.mk> |