pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc47



Module Name:    pkgsrc
Committed By:   maya
Date:           Thu Dec 22 10:03:07 UTC 2016

Modified Files:
        pkgsrc/lang/gcc47: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/lang/gcc47/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc47/Makefile
diff -u pkgsrc/lang/gcc47/Makefile:1.41 pkgsrc/lang/gcc47/Makefile:1.42
--- pkgsrc/lang/gcc47/Makefile:1.41     Mon Oct 31 04:10:38 2016
+++ pkgsrc/lang/gcc47/Makefile  Thu Dec 22 10:03:07 2016
@@ -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 @@ EXTRACT_ONLY=         ${DEFAULT_DISTFILES}
 
 NOT_FOR_PLATFORM=      Interix-*-*
 
+USE_LANGUAGES+=                c c++
 USE_TOOLS+=            gmake makeinfo sed:run perl
 GCC_REQD+=             4.4
 
@@ -47,7 +48,7 @@ SUBST_VARS.vars=      GCC_TARGET_MACHINE
 
 .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