Date: Tue, 26 Aug 1997 08:00:01 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Message-ID: <199708261500.IAA14950@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/4395; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, j@ida.interface-business.de Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/4395: if exists(secure) in /usr/src/Makefile is bogus Date: Wed, 27 Aug 1997 00:55:39 +1000 >> >If /usr/obj/secure does exist, but /usr/src/secure doesn't, the above >> >construct wrongly causes descending into the `secure' subdirectory. >> >> How would /usr/obj/secure (actually /usr/obj/usr/src/secure) exist? > >By a previous `make' where /usr/src/secure did exist. > >I've posted this on behalf of a friend who's been hit by it for the >second time... I believe it's bogus to check for `exist(secure)' in >the /usr/obj hierarchy, that's why i've made it a PR. I forgot that the whole tree for /usr/obj is now usually created. The check wasn't bogus when obj directories were subdirectories. Then NOOBJ or not including anything except bsd.subdir.mk (as in src/Makefile) stopped separate obj directories from being created. Some other Makefiles (e.g., share/syscons/fonts) still depend on this behaviour and get it because they are in leaf directories. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708261500.IAA14950>