Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 1997 06:44:26 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        max@wide.ad.jp (Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=)
Cc:        peter@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG, max@wide.ad.jp
Subject:   Re: cvs commit: src/share/mk bsd.lib.mk bsd.prog.mk sys.mk
Message-ID:  <199708311344.GAA05145@hub.freebsd.org>
In-Reply-To: <199708310100.KAA02696@access.sfc.wide.ad.jp> from "Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=" at Aug 31, 97 10:00:57 am

next in thread | previous in thread | raw e-mail | index | archive | help
Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= 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 (${BINFORMAT} != 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


	either sys.mk should be included before bsd.prog.mk is used
	(sys.mk will define BINFORMAT) or both bsd.prog.mk (1
	occurance) and bsd.lib.mk (5 occurances) have to be changed
	to "conditionalize" BINFORMAT test.

	i'll let someone that is more expert in out make system
	determine the "right thing".

bsd.prog.mk:
*** 147,151 ****
  .endif
  
! .if ${BINFORMAT} != aout
  .include <bsd.libnames.mk>
  .endif
--- 147,151 ----
  .endif
  
! .if defined(BINFORMAT) && (${BINFORMAT} != aout)
  .include <bsd.libnames.mk>
  .endif

jmb



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