Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/binstall Fix the real problem, Makefile.host was inclu...



details:   https://anonhg.NetBSD.org/src/rev/f5e3d2b717e7
branches:  trunk
changeset: 785483:f5e3d2b717e7
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 16 02:51:25 2013 +0000

description:
Fix the real problem, Makefile.host was included before the HOST_MKDEP
setup so it prevented correct CPPFLAGS from being used.

diffstat:

 tools/binstall/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 67c3b6a4c303 -r f5e3d2b717e7 tools/binstall/Makefile
--- a/tools/binstall/Makefile   Sat Mar 16 01:26:52 2013 +0000
+++ b/tools/binstall/Makefile   Sat Mar 16 02:51:25 2013 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile,v 1.9 2012/12/02 12:39:55 apb Exp $
+#      $NetBSD: Makefile,v 1.10 2013/03/16 02:51:25 christos Exp $
+
+.include <bsd.own.mk>
 
 HOSTPROGNAME=  ${MACHINE_GNU_PLATFORM}-install
 HOST_SRCDIR=   usr.bin/xinstall
@@ -9,7 +11,6 @@
 # from ${TOOLDIR}.
 NOCOMPATLIB=
 
-.include "${.CURDIR}/../Makefile.host"
 
 # Use uninstalled copy of host-mkdep
 HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
@@ -21,5 +22,8 @@
 COMPATOBJ!=    cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
 .-include      "${COMPATOBJ}/defs.mk"
 
+.include "${.CURDIR}/../Makefile.host"
+
 # Use uninstalled copy of the install program
 INSTALL=       ./xinstall
+



Home | Main Index | Thread Index | Old Index