Subject: Latest batch of dhcp mods prevents snapshot from being built
To: None <current-users@netbsd.org, tech-install@netbsd.org>
From: James Chacon <jchacon@genuity.net>
List: current-users
Date: 07/24/2000 09:45:44
A make snapshot of -current as of last night fails after the new dhcp mods
from the last week are brought in:

all === utils/x_dhclient
cc -O2 -Os -Werror   -DSMALL -I/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp -I/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/includes -nostdinc -idirafter /home/jmc/src/trunk/build/usr/include -c /home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c
/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c: In function `script_go':
/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c:2284: `CLIENT_PATH' undeclared (first use in this function)
/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c:2284: (Each undeclared identifier is reported only once
/home/jmc/src/trunk/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c:2284: for each function it appears in.)
*** Error code 1

diff -c -c -r1.2 Makefile
*** Makefile    2000/07/14 14:18:20     1.2
--- Makefile    2000/07/24 13:42:56
***************
*** 5,10 ****
--- 5,12 ----
  
  LDSTATIC?=    -static
  
+ CPPFLAGS += -DCLIENT_PATH='"/usr/bin:/usr/sbin:/bin:/sbin"'
+ 
  RSRCDIR= ${.CURDIR}/../../../usr.sbin/dhcp
  .PATH: ${RSRCDIR}/client ${RSRCDIR}/common ${RSRCDIR}/minires ${RSRCDIR}/omapip
  .NOPATH: ${PROG}

fixes it as a quick hack. 

James