summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-20 05:45:59 +0000
committerobrien <obrien@FreeBSD.org>2002-02-20 05:45:59 +0000
commit00825f7188ba7ccb282dfebd802ac723add985e3 (patch)
treec795aacd0bf6fe504eaa438c05876738a24b369c /sbin/dhclient
parent9b1a7d6a2eaa4086944d41db128842053fabff67 (diff)
downloadFreeBSD-src-00825f7188ba7ccb282dfebd802ac723add985e3.zip
FreeBSD-src-00825f7188ba7ccb282dfebd802ac723add985e3.tar.gz
Neutralize bits of ns_parse.c with bad juju.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/minires/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/dhclient/minires/Makefile b/sbin/dhclient/minires/Makefile
index 0b43590..32e72a3 100644
--- a/sbin/dhclient/minires/Makefile
+++ b/sbin/dhclient/minires/Makefile
@@ -9,7 +9,7 @@ LIB= res
INTERNALLIB= true
INTERNALSTATICLIB= true
-SRCS= ns_date.c ns_name.c ns_parse.c ns_samedomain.c ns_sign.c ns_verify.c \
+SRCS= ns_date.c ns_name.c ns_parse%FIXED.c ns_samedomain.c ns_sign.c ns_verify.c \
res_comp.c res_findzonecut.c res_init.c res_mkquery.c res_mkupdate.c \
res_query.c res_send.c res_sendsigned.c res_update.c
@@ -17,4 +17,9 @@ CFLAGS+= -DHMAC_MD5 -DMINIRES_LIB
NOMAN= true
+CLEANFILES+= ns_parse%FIXED.c
+ns_parse%FIXED.c: ns_parse.c
+ sed 's/struct _ns_flagdata _ns_flagdata/struct _ns_flagdata _ns_flagdata_DONT/' \
+ ${.ALLSRC} > ${.TARGET}
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud