From d5c6e8dee0ddd38a4913a4f60855ea19bcda09e8 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 20 Feb 2002 05:45:59 +0000 Subject: [PATCH] Neutralize bits of ns_parse.c with bad juju. --- sbin/dhclient/minires/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sbin/dhclient/minires/Makefile b/sbin/dhclient/minires/Makefile index 0b43590b4dec..32e72a30b76b 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