Source-Changes-HG archive

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

[src/trunk]: src/tools look in external first.



details:   https://anonhg.NetBSD.org/src/rev/f130e4414895
branches:  trunk
changeset: 813048:f130e4414895
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 13 23:01:15 2016 +0000

description:
look in external first.

diffstat:

 tools/Makefile.gnuhost |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 350da4bc9b41 -r f130e4414895 tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Wed Jan 13 22:03:38 2016 +0000
+++ b/tools/Makefile.gnuhost    Wed Jan 13 23:01:15 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gnuhost,v 1.42 2013/08/13 20:41:25 drochner Exp $
+#      $NetBSD: Makefile.gnuhost,v 1.43 2016/01/13 23:01:15 christos Exp $
 #
 # Rules used when building a GNU host package.  Expects MODULE to be set.
 #
@@ -24,7 +24,11 @@
 .endif
 MAKE_PROGRAM?= ${MAKE}
 
+.if exists(${.CURDIR}/../../external/gpl2/${MODULE}/dist)
+GNUHOSTDIST?=  ${.CURDIR}/../../external/gpl2/${MODULE}/dist
+.else
 GNUHOSTDIST?=  ${.CURDIR}/../../gnu/dist/${MODULE}
+.endif
 
 FIND_ARGS+=    \! \( -type d \( \
                        -name 'CVS' -o \



Home | Main Index | Thread Index | Old Index