From owner-cvs-share Sun Aug 31 13:42:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA17722 for cvs-share-outgoing; Sun, 31 Aug 1997 13:42:17 -0700 (PDT) Received: (from jmb@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA17585; Sun, 31 Aug 1997 13:40:07 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199708312040.NAA17585@hub.freebsd.org> Subject: Re: cvs commit: src/share/mk bsd.lib.mk bsd.prog.mk sys.mk To: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum) Date: Sun, 31 Aug 1997 13:40:07 -0700 (PDT) Cc: peter@spinner.dialix.com.au, jmb@FreeBSD.ORG, max@wide.ad.jp, peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG In-Reply-To: <199708311807.WAA15486@tejblum.dnttm.rssi.ru> from "Dmitrij Tejblum" at Aug 31, 97 10:07:34 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-share@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk including /usr/share/mk/sys.mk in place of /usr/src/share/mk/sys.mk would explain the problem. peter, can you check your copy of /usr/share/mk/sys.mk? if it contains the definition for BINFORMAT, please revert your /usr/share/mk/sys.mk to version 1.23 which is the most recent version that *does*not* include BINFORMAT. that should allow you to reproduce the problem. jmb Dmitrij Tejblum wrote: > > Peter Wemm wrote: > > > > # make buildworld > > > > -------------------------------------------------------------- > > > > Making make > > > > -------------------------------------------------------------- > > > > mkdir -p /usr/obj/usr/src/tmp/usr/bin > > > [snip] > > > > "/usr/src/share/mk/bsd.prog.mk", line 149: Malformed conditional (${BINFORM > > AT} != aout) > > > > "/usr/src/share/mk/bsd.prog.mk", line 151: if-less endif > > > > "/usr/src/share/mk/bsd.prog.mk", line 151: Need an operator > > > > make: fatal errors encountered -- cannot continue > > > > *** Error code 1 > > > I don't understand what's going wrong there. It seems to be working fine > > for me. > > > > sys.mk is implicitly included by make *before* reading the user Makefile. > > bsd.prog.mk should always be able to see it. Remember, sys.mk includes > > /etc/make.conf, which bsd.prog.mk refers to. > > Here make implicitly included /usr/share/mk/sys.mk, not /usr/src/share/sys.mk > > --- /usr/src/Makefile.00 Sun Aug 31 20:44:16 1997 > +++ /usr/src/Makefile Sun Aug 31 20:44:32 1997 > @@ -223,9 +223,9 @@ > @echo "--------------------------------------------------------------" > mkdir -p ${WORLDTMP}/usr/bin > cd ${.CURDIR}/usr.bin/make && \ > - ${IBMAKE} -I${.CURDIR}/share/mk \ > + ${IBMAKE} -m${.CURDIR}/share/mk \ > ${OBJDIR} clean cleandepend depend && \ > - ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} \ > + ${IBMAKE} -m${.CURDIR}/share/mk ${MK_FLAGS} \ > all install clean cleandepend > @echo > @echo "--------------------------------------------------------------" > > I have no idea why Satoshi wrote -I here. > > Dima