diff options
author | obrien <obrien@FreeBSD.org> | 2000-09-30 19:47:32 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-09-30 19:47:32 +0000 |
commit | c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951 (patch) | |
tree | a60d1a2cdf766cd5a701178ccfe601a3c8addac3 /net/isc-dhcp3 | |
parent | 1212420ab467b564831494da0706979d873b60f5 (diff) | |
download | FreeBSD-ports-c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951.zip FreeBSD-ports-c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951.tar.gz |
Use Perl's in-place editing to do the simple search and replace that the
Makefile.dist patches were doing. This approach will reduce the patch
breakage with each new ISC-DHCP version.
Diffstat (limited to 'net/isc-dhcp3')
-rw-r--r-- | net/isc-dhcp3/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/isc-dhcp3/Makefile b/net/isc-dhcp3/Makefile index ac2a737..8a3aa5e 100644 --- a/net/isc-dhcp3/Makefile +++ b/net/isc-dhcp3/Makefile @@ -27,6 +27,9 @@ MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8 post-patch: @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/includes/dhcpd.h @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/client/scripts/freebsd +.for MF in relay/Makefile.dist server/Makefile.dist client/Makefile.dist common/Makefile.dist dhcpctl/Makefile.dist minires/Makefile.dist omapip/Makefile.dist + @${PERL} -pi.fbsd -e 's|^DEBUG[ ]*=|DEBUG ?=|g ; s|^CFLAGS[ ]*=|CFLAGS +=|g' ${WRKSRC}/${MF} +.endfor post-install: ${TOUCH} /var/db/dhcpd.leases |