Source-Changes-HG archive

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

[src/matt-nb6-plus]: src/external Don't descend into gpl3 unless we are build...



details:   https://anonhg.NetBSD.org/src/rev/6c5374f3f79b
branches:  matt-nb6-plus
changeset: 774500:6c5374f3f79b
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Nov 21 01:04:33 2012 +0000

description:
Don't descend into gpl3 unless we are building a gpl3 tool.
Only build binutils if we want 2.19 [sic]

diffstat:

 external/Makefile      |  11 ++++++++---
 external/gpl3/Makefile |   4 +++-
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 182cb7b13492 -r 6c5374f3f79b external/Makefile
--- a/external/Makefile Wed Nov 21 00:07:33 2012 +0000
+++ b/external/Makefile Wed Nov 21 01:04:33 2012 +0000
@@ -1,6 +1,11 @@
-#      $NetBSD: Makefile,v 1.16.6.1 2012/08/13 23:18:23 riz Exp $
+#      $NetBSD: Makefile,v 1.16.6.1.2.1 2012/11/21 01:04:33 matt Exp $
+
+.include <bsd.own.mk>
 
-SUBDIR+= apache2 atheros bsd intel-fw-eula intel-fw-public gpl2 gpl3 historical
-SUBDIR+= ibm-public public-domain cddl mit realtek
+SUBDIR+= apache2 atheros bsd intel-fw-eula intel-fw-public gpl2
+.if ${HAVE_BINUTILS} == "219" || ${HAVE_GCC} == "45" || ${HAVE_GDB} == "7"
+SUBDIR+= gpl3
+.endif
+SUBDIR+= historical ibm-public public-domain cddl mit realtek
 
 .include <bsd.subdir.mk>
diff -r 182cb7b13492 -r 6c5374f3f79b external/gpl3/Makefile
--- a/external/gpl3/Makefile    Wed Nov 21 00:07:33 2012 +0000
+++ b/external/gpl3/Makefile    Wed Nov 21 01:04:33 2012 +0000
@@ -1,10 +1,12 @@
-#      $NetBSD: Makefile,v 1.6 2011/10/31 08:14:44 mrg Exp $
+#      $NetBSD: Makefile,v 1.6.6.1 2012/11/21 01:04:34 matt Exp $
 
 .include <bsd.own.mk>
 
 .if ${MKBINUTILS} != "no"
+.if ${HAVE_BINUTILS} == "219"
 SUBDIR+=       binutils
 .endif
+.endif
 
 .if ${HAVE_GCC} == 45
 .if ${MKGCCCMDS} != "no"



Home | Main Index | Thread Index | Old Index