Subject: Re: make obj fails with recent current src
To: Samuel Hornus\[Isobel\] <Samuel.Hornus@crans.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: port-macppc
Date: 06/23/2001 20:49:46
On Sat, Jun 23, 2001 at 09:46:53PM +0200, Samuel Hornus[Isobel] wrote:
> 
> Hi,
> 
> with just cvs-updated sources, there is an error when making obj in
> /usr/src :
> 
> obj ===> lib/libc
> make: "/usr/src/lib/libc/arch/powerpc/Makefile.inc" line 6: Malformed
> conditional ((${MKSOFTFLOAT} != "no"))
> make: "/usr/src/lib/libc/arch/powerpc/Makefile.inc" line 6: Missing
> dependency operator
> make: "/usr/src/lib/libc/Makefile" line 59: if-less endif
> make: "/usr/src/lib/libc/Makefile" line 59: Need an operator
> make: Fatal errors encountered -- cannot continue
> 
> Any clue  to get it go a bit further ?

Sure, see bin/13285

Cheers,

Patrick

Index: bsd.sys.mk
===================================================================
RCS file: /cvsroot/sharesrc/share/mk/bsd.sys.mk,v
retrieving revision 1.47
diff -p -r1.47 bsd.sys.mk
*** bsd.sys.mk	2001/06/18 17:04:45	1.47
--- bsd.sys.mk	2001/06/23 19:49:18
*************** LINTFLAGS+= -d ${DESTDIR}/usr/include
*** 35,43 ****
  CPPFLAGS+= -D__AUDIT__
  .endif
  
! .if (${MKSOFTFLOAT} != "no")
  COPTS+=		-msoft-float
  FOPTS+=		-msoft-float
  .endif
  
  # Helpers for cross-compiling
--- 35,45 ----
  CPPFLAGS+= -D__AUDIT__
  .endif
  
! .if defined(MKSOFTFLOAT)
! .if ${MKSOFTFLOAT} != "no"
  COPTS+=		-msoft-float
  FOPTS+=		-msoft-float
+ .endif
  .endif
  
  # Helpers for cross-compiling