Subject: bin/917: missing -I in usr.bin/passwd/Makefile for pw_util.h
To: None <gnats-admin@NetBSD.ORG>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 03/28/1995 15:05:07
>Number: 917
>Category: bin
>Synopsis: missing -I in usr.bin/passwd/Makefile for pw_util.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 28 15:05:04 1995
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 03-27-95
>Environment:
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #103: Mon Mar 20 11:55:32 MET 1995 root@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
Missing -I in usr.bin/passwd produces an error:
[root]/src/usr.bin/passwd# make
cc -O -I/src/usr.bin/passwd -DYP -c /src/usr.bin/passwd/../../usr.bin/chpass/pw_copy.c
/src/usr.bin/passwd/../../usr.bin/chpass/pw_copy.c:54: pw_util.h: No such file or directory
*** Error code 1
Stop.
>How-To-Repeat:
make usr.bin/passwd
>Fix:
use this patch which is from usr.bin/chpass :
(ups, I found that Rafal Boni <r-boni@uiuc.edu> has allready written
a mail to current-users and he uses the same fix :)
*** usr.bin/passwd/Makefile-orig Mon Feb 13 12:17:36 1995
--- usr.bin/passwd/Makefile Tue Mar 28 22:51:08 1995
***************
*** 7,13 ****
${.CURDIR}/../rlogin ${.CURDIR}/../../lib/libc/gen
DPADD+= ${LIBRPCSVC} ${LIBCRYPT}
LDADD+= -lrpcsvc -lcrypt
! CFLAGS+=-I${.CURDIR} -DYP
.if defined(KERBEROS5)
SRCS+= krb5_passwd.c
--- 7,13 ----
${.CURDIR}/../rlogin ${.CURDIR}/../../lib/libc/gen
DPADD+= ${LIBRPCSVC} ${LIBCRYPT}
LDADD+= -lrpcsvc -lcrypt
! CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw -DYP
.if defined(KERBEROS5)
SRCS+= krb5_passwd.c
>Audit-Trail:
>Unformatted: