Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 1997 22:07:34 +0400
From:      Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
To:        Peter Wemm <peter@spinner.dialix.com.au>
Cc:        "Jonathan M. Bresler" <jmb@FreeBSD.ORG>, max@wide.ad.jp (Masafumi)
Subject:   Re: cvs commit: src/share/mk bsd.lib.mk bsd.prog.mk sys.mk 
Message-ID:  <199708311807.WAA15486@tejblum.dnttm.rssi.ru>
In-Reply-To: Your message of "Mon, 01 Sep 1997 01:24:53 %2B0800." <199708311724.BAA21480@spinner.dialix.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708311807.WAA15486>