Module Name: src
Committed By: dholland
Date: Sat Oct 10 22:54:03 UTC 2015
Modified Files:
src/usr.bin/xinstall: Makefile
Log Message:
Don't assume HAVE_POSIX_SPAWN when building a host prog. From Joachim
Kuebart in PR 50301. needs pullup-7
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/xinstall/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xinstall/Makefile
diff -u src/usr.bin/xinstall/Makefile:1.25 src/usr.bin/xinstall/Makefile:1.26
--- src/usr.bin/xinstall/Makefile:1.25 Wed Jun 17 15:34:08 2015
+++ src/usr.bin/xinstall/Makefile Sat Oct 10 22:54:03 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2015/06/17 15:34:08 christos Exp $
+# $NetBSD: Makefile,v 1.26 2015/10/10 22:54:03 dholland Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
@@ -12,9 +12,9 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/mak
.PATH: ${NETBSDSRCDIR}/usr.sbin/mtree
CPPFLAGS+= -I${NETBSDSRCDIR}/usr.sbin/mtree
-CPPFLAGS+= -DHAVE_POSIX_SPAWN
.if (${HOSTPROG:U} == "")
+CPPFLAGS+= -DHAVE_POSIX_SPAWN
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.endif