diff options
author | sbd <sbd@pkgsrc.org> | 2012-04-04 22:18:29 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-04-04 22:18:29 +0000 |
commit | 480280353dee6a58c01286b9f8b925fe2a571b3f (patch) | |
tree | dc711ea1ef4e47d2381a2afafabc5eb437f6bc2e /lang/gcc44/options.mk | |
parent | 88380ced3bb3e70edf820b21d313d92e4033dee8 (diff) | |
download | pkgsrc-480280353dee6a58c01286b9f8b925fe2a571b3f.tar.gz |
Rename option "gcc-c++" to "gcc-cpp" (with legacy support) as pkglint
complains with: "gcc-c++" is not a valid option name.
Diffstat (limited to 'lang/gcc44/options.mk')
-rw-r--r-- | lang/gcc44/options.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lang/gcc44/options.mk b/lang/gcc44/options.mk index f3a47195b66..e804fbf0977 100644 --- a/lang/gcc44/options.mk +++ b/lang/gcc44/options.mk @@ -1,13 +1,14 @@ -# $NetBSD: options.mk,v 1.7 2012/01/14 02:09:36 hans Exp $ +# $NetBSD: options.mk,v 1.8 2012/04/04 22:18:29 sbd Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gcc44 -PKG_SUPPORTED_OPTIONS= nls gcc-c++ gcc-fortran gcc-java gcc-objc #gcc-ada -PKG_SUGGESTED_OPTIONS= gcc-c++ gcc-fortran gcc-java gcc-objc +PKG_SUPPORTED_OPTIONS= nls gcc-cpp gcc-fortran gcc-java gcc-objc #gcc-ada +PKG_SUGGESTED_OPTIONS= gcc-cpp gcc-fortran gcc-java gcc-objc +PKG_OPTIONS_LEGACY_OPTS= gcc-c++:gcc-cpp .if ${OPSYS} == "NetBSD" PKG_SUGGESTED_OPTIONS+= nls .endif -PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-c++ +PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-cpp PKG_OPTIONS_LEGACY_VARS+= BUILD_FORTRAN:gcc-fortran PKG_OPTIONS_LEGACY_VARS+= BUILD_JAVA:gcc-java PKG_OPTIONS_LEGACY_VARS+= BUILD_OBJC:gcc-objc @@ -35,8 +36,8 @@ CONFIGURE_ARGS+= --disable-nls LANGS= c .if !empty(PKG_OPTIONS:Mgcc-java) -. if empty(PKG_OPTIONS:Mgcc-c++) -PKG_OPTIONS+= gcc-c++ +. if empty(PKG_OPTIONS:Mgcc-cpp) +PKG_OPTIONS+= gcc-cpp . endif LANGS+= java @@ -63,7 +64,7 @@ MAKE_ENV+= ac_cv_prog_JAR=no .include "../../lang/python/application.mk" .endif -.if !empty(PKG_OPTIONS:Mgcc-c++) +.if !empty(PKG_OPTIONS:Mgcc-cpp) LANGS+= c++ USE_TOOLS+= perl CONFIGURE_ARGS+= --enable-__cxa_atexit |