Source-Changes-HG archive

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

[src/trunk]: src/tools look in gpl3 for stuff too (autoconf)



details:   https://anonhg.NetBSD.org/src/rev/685ffde786ee
branches:  trunk
changeset: 813112:685ffde786ee
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 16 18:38:53 2016 +0000

description:
look in gpl3 for stuff too (autoconf)

diffstat:

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

diffs (25 lines):

diff -r 3e008af200c1 -r 685ffde786ee tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Sat Jan 16 18:35:58 2016 +0000
+++ b/tools/Makefile.gnuhost    Sat Jan 16 18:38:53 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gnuhost,v 1.43 2016/01/13 23:01:15 christos Exp $
+#      $NetBSD: Makefile.gnuhost,v 1.44 2016/01/16 18:38:53 christos Exp $
 #
 # Rules used when building a GNU host package.  Expects MODULE to be set.
 #
@@ -24,11 +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}
+.for i in 3 2
+.if exists(${.CURDIR}/../../external/gpl${i}/${MODULE}/dist)
+GNUHOSTDIST?=  ${.CURDIR}/../../external/gpl${i}/${MODULE}/dist
 .endif
+.endfor
 
 FIND_ARGS+=    \! \( -type d \( \
                        -name 'CVS' -o \



Home | Main Index | Thread Index | Old Index