From owner-cvs-share Sun Aug 31 11:11:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA12475 for cvs-share-outgoing; Sun, 31 Aug 1997 11:11:19 -0700 (PDT) Received: from helios.dnttm.ru (root@dnttm.wave.ras.ru [194.85.104.197]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA12434; Sun, 31 Aug 1997 11:10:44 -0700 (PDT) Received: (from uucp@localhost) by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id WAA17706; Sun, 31 Aug 1997 22:04:28 +0400 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.8.7/8.8.5) with ESMTP id WAA15486; Sun, 31 Aug 1997 22:07:38 +0400 (MSD) Message-Id: <199708311807.WAA15486@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: Peter Wemm cc: "Jonathan M. Bresler" , max@wide.ad.jp (Masafumi) Sender: owner-cvs-share@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=), peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.lib.mk bsd.prog.mk sys.mk In-reply-to: Your message of "Mon, 01 Sep 1997 01:24:53 +0800." <199708311724.BAA21480@spinner.dialix.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Aug 1997 22:07:34 +0400 From: Dmitrij Tejblum 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