diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
commit | 7ef18f14299563025b37cc14ad88ee23667cf783 (patch) | |
tree | 28778dac4b4bd95a8dddcdd306c27fb2b47a1448 /net/isc-dhcp30-server | |
parent | Fix properly for building under -current (diff) |
${PERL} -> ${REINPLACE_CMD}
PR: 39746
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=61855
Diffstat (limited to 'net/isc-dhcp30-server')
-rw-r--r-- | net/isc-dhcp30-server/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile index ae4f7fb5f922..a5379c84356b 100644 --- a/net/isc-dhcp30-server/Makefile +++ b/net/isc-dhcp30-server/Makefile @@ -8,7 +8,6 @@ PORTNAME= dhcp PORTVERSION= 3.0.1.r9 -PORTREVISION= 0 CATEGORIES= net MASTER_SITES= ftp://ftp.isc.org/isc/%SUBDIR%/ \ ${US_MASTER_SITES} ${JAPAN_MASTER_SITES} \ @@ -32,6 +31,7 @@ MAINTAINER= cyrille.lefevre@laposte.net # Global variables # +USE_REINPLACE= yes HAS_CONFIGURE= yes MAN1= omshell.1 @@ -124,22 +124,22 @@ post-patch: patch-scripts patch-makefile-conf \ patch-message patch-scripts: - @${PERL} -pi.fbsd -e 's|%%PREFIX%%|${PREFIX}|g' \ + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/client/scripts/freebsd patch-makefile-conf: - @${PERL} -pi.fbsd -e 's|^DEBUG[ \t]*=|# DEBUG ?=|g' \ + @${REINPLACE_CMD} -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ ${WRKSRC}/Makefile.conf patch-makefiles-dist: .for subdir in ${PATCH_SUBDIRS} - @${PERL} -pi.fbsd -e 's|^CFLAGS[ \t]*=|CFLAGS +=|g' \ + @${REINPLACE_CMD} -e 's|^CFLAGS[ ]*=|CFLAGS +=|g' \ ${WRKSRC}/${subdir}/Makefile.dist .endfor # temporary hack - no patch file needed for this typo. patch-man-pages: - @${PERL} -ni.fbsd -e '/^\.Fd$$/ or print;' ${WRKSRC}/dhcpctl/dhcpctl.3 + @${REINPLACE_CMD} -e '/^\.Fd$$/d' ${WRKSRC}/dhcpctl/dhcpctl.3 patch-message: @${SED} 's|%%PREFIX%%|${PREFIX}|g;s|%%MAN1PREFIX%%|${MAN1PREFIX}|g' \ |