svn commit: r192964 - projects/jbuild/lib/msun

John Birrell jb at FreeBSD.org
Thu May 28 07:12:58 UTC 2009


Author: jb
Date: Thu May 28 07:12:57 2009
New Revision: 192964
URL: http://svn.freebsd.org/changeset/base/192964

Log:
  This lib isn't required for the host which has it's own already

Modified:
  projects/jbuild/lib/msun/Buildfile

Modified: projects/jbuild/lib/msun/Buildfile
==============================================================================
--- projects/jbuild/lib/msun/Buildfile	Thu May 28 07:04:50 2009	(r192963)
+++ projects/jbuild/lib/msun/Buildfile	Thu May 28 07:12:57 2009	(r192964)
@@ -12,7 +12,7 @@
 #
 
 LIBDIR = ${STAGEDIR}/lib
-INCDIR = ${STAGEDIR}//usr/include
+INCDIR = ${STAGEDIR}/usr/include
 
 .if ${MACHINE_ARCH} == "i386"
 ARCH_SUBDIR = i387
@@ -20,6 +20,7 @@ ARCH_SUBDIR = i387
 ARCH_SUBDIR = ${MACHINE_ARCH}
 .endif
 
+.if exists(${ARCH_SUBDIR})
 .include "${ARCH_SUBDIR}/Buildfile.inc"
 
 .PATH:	${.CURDIR}/${ARCH_SUBDIR}
@@ -32,6 +33,7 @@ CFLAGS+=	-I${.CURDIR}/ld80
 .PATH:  ${.CURDIR}/ld128
 CFLAGS+=	-I${.CURDIR}/ld128
 .endif
+.endif
 
 .PATH:	${.CURDIR}/bsdsrc
 .PATH:	${.CURDIR}/src
@@ -211,7 +213,7 @@ COMMON_SRCS += \
 	s_lrintl.c \
 	s_modfl.c
 
-.if ${LDBL_PREC} != 53
+.if defined(LDBL_PREC) && ${LDBL_PREC} != 53
 # If long double != double use these; otherwise, we alias the double versions.
 COMMON_SRCS += \
 	e_acosl.c \
@@ -277,4 +279,6 @@ INCS = \
 	fenv.h \
 	math.h
 
+NOT_MACHINE_ARCH = host
+
 .include <bsd.lib.mk>


More information about the svn-src-projects mailing list