pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc47 gcc47: add USE_LANGUAGES c++ so less warnin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/450250752102
branches:  trunk
changeset: 356205:450250752102
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Dec 22 10:03:07 2016 +0000

description:
gcc47: add USE_LANGUAGES c++ so less warnings about configure using the
c++ compiler.
pass LANG+=c++ only once (from options.mk), doing it twice seems to confuse
the configure script.

now I can pass configure on NetBSD-6.

diffstat:

 lang/gcc47/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 646de71b113e -r 450250752102 lang/gcc47/Makefile
--- a/lang/gcc47/Makefile       Thu Dec 22 07:13:09 2016 +0000
+++ b/lang/gcc47/Makefile       Thu Dec 22 10:03:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2016/10/31 04:10:38 dholland Exp $
+# $NetBSD: Makefile,v 1.42 2016/12/22 10:03:07 maya Exp $
 
 GCC_PKGNAME=           gcc47
 .include               "version.mk"
@@ -23,6 +23,7 @@
 
 NOT_FOR_PLATFORM=      Interix-*-*
 
+USE_LANGUAGES+=                c c++
 USE_TOOLS+=            gmake makeinfo sed:run perl
 GCC_REQD+=             4.4
 
@@ -47,7 +48,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-LANGS=                 c c++
+LANGS=                 c
 
 # In some cases LINKER_RPATH_FLAG needs a trailing space.
 LINKER_RPATH_FLAG:=    ${LINKER_RPATH_FLAG:S/-rpath/& /}



Home | Main Index | Thread Index | Old Index