summaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp3/Makefile')
-rw-r--r--net/isc-dhcp3/Makefile3
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
OpenPOWER on IntegriCloud