Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 1997 13:40:07 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
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
Subject:   Re: cvs commit: src/share/mk bsd.lib.mk bsd.prog.mk sys.mk
Message-ID:  <199708312040.NAA17585@hub.freebsd.org>
In-Reply-To: <199708311807.WAA15486@tejblum.dnttm.rssi.ru> from "Dmitrij Tejblum" at Aug 31, 97 10:07:34 pm

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



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