diff options
author | obrien <obrien@FreeBSD.org> | 2000-10-01 03:47:32 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-10-01 03:47:32 +0800 |
commit | c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951 (patch) | |
tree | a60d1a2cdf766cd5a701178ccfe601a3c8addac3 /net | |
parent | 1212420ab467b564831494da0706979d873b60f5 (diff) | |
download | freebsd-ports-gnome-c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951.tar.gz freebsd-ports-gnome-c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951.tar.zst freebsd-ports-gnome-c54b745d49b05fa2ad9fad08d9c0f3b5a0a32951.zip |
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')
-rw-r--r-- | net/isc-dhcp3-server/Makefile | 3 | ||||
-rw-r--r-- | net/isc-dhcp3/Makefile | 3 | ||||
-rw-r--r-- | net/isc-dhcp30-server/Makefile | 3 | ||||
-rw-r--r-- | net/isc-dhcp31-server/Makefile | 3 | ||||
-rw-r--r-- | net/isc-dhcp40-server/Makefile | 3 |
5 files changed, 15 insertions, 0 deletions
diff --git a/net/isc-dhcp3-server/Makefile b/net/isc-dhcp3-server/Makefile index ac2a7372fd1f..8a3aa5efe80c 100644 --- a/net/isc-dhcp3-server/Makefile +++ b/net/isc-dhcp3-server/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 diff --git a/net/isc-dhcp3/Makefile b/net/isc-dhcp3/Makefile index ac2a7372fd1f..8a3aa5efe80c 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 diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile index ac2a7372fd1f..8a3aa5efe80c 100644 --- a/net/isc-dhcp30-server/Makefile +++ b/net/isc-dhcp30-server/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 diff --git a/net/isc-dhcp31-server/Makefile b/net/isc-dhcp31-server/Makefile index ac2a7372fd1f..8a3aa5efe80c 100644 --- a/net/isc-dhcp31-server/Makefile +++ b/net/isc-dhcp31-server/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 diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile index ac2a7372fd1f..8a3aa5efe80c 100644 --- a/net/isc-dhcp40-server/Makefile +++ b/net/isc-dhcp40-server/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 |