Subject: bin/3600: /src/usr.sbin/sendmail/cf/cf/Makefile sets CFDIR false
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 05/10/1997 22:12:12
>Number: 3600
>Category: bin
>Synopsis: /src/usr.sbin/sendmail/cf/cf/Makefile sets CFDIR false
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 10 13:20:00 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 09.05.1997
>Environment:
System: NetBSD cyberlap 1.2E NetBSD 1.2E (CYBERLAP) #11: Sat May 10 16:08:28 CEST 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386
>Description:
/src/usr.sbin/sendmail/cf/cf/Makefile sets CFDIR to ".." - this does not work
if you did `make obj` to seperate object files from the source tree.
>How-To-Repeat:
Try the following:
cd /src/usr.sbin/sendmail
make obj && make depend && make
and watch:
===> usr.sbin/sendmail/cf/cf
make: don't know how to make ../domain/Berkeley.EDU.m4. Stop
>Fix:
I don't know if this is the proper thing, but the following patch
worked for me (apply to /src/usr.bin/sendmail/cf/cf/Makefile):
*** Makefile-orig Thu May 8 14:18:04 1997
--- Makefile Sat May 10 15:17:39 1997
***************
*** 11,17 ****
#
M4= m4
! CFDIR= ..
CHMOD= chmod
ROMODE= 444
RM= rm -f
--- 11,17 ----
#
M4= m4
! CFDIR= ${.CURDIR}/..
CHMOD= chmod
ROMODE= 444
RM= rm -f
>Audit-Trail:
>Unformatted:
/src/usr.sbin/sendmail/cf/cf/Makefile sets CFDIR false