summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-04-08 05:04:36 +0000
committersbd <sbd@pkgsrc.org>2012-04-08 05:04:36 +0000
commit0cd3fd35834895a4b0d7dcc6d642bcf3d91598fa (patch)
treec6bb3f0aa9edcb8ff028965fd0ce791fd7eae570
parent25373df0e8795e88faae2f592b3ada5b8386983d (diff)
downloadpkgsrc-0cd3fd35834895a4b0d7dcc6d642bcf3d91598fa.tar.gz
Revert the below commit as it has been decided that plus (+) characters are
allowed in option names (pkglint has been updated). --- Module Name: pkgsrc Committed By: sbd Date: Wed Apr 4 22:18:30 UTC 2012 Modified Files: pkgsrc/lang/gcc44: options.mk Log Message: Rename option "gcc-c++" to "gcc-cpp" (with legacy support) as pkglint complains with: "gcc-c++" is not a valid option name. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc44/options.mk
-rw-r--r--lang/gcc44/options.mk15
1 files changed, 7 insertions, 8 deletions
diff --git a/lang/gcc44/options.mk b/lang/gcc44/options.mk
index e804fbf0977..fb49ce2b476 100644
--- a/lang/gcc44/options.mk
+++ b/lang/gcc44/options.mk
@@ -1,14 +1,13 @@
-# $NetBSD: options.mk,v 1.8 2012/04/04 22:18:29 sbd Exp $
+# $NetBSD: options.mk,v 1.9 2012/04/08 05:04:36 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gcc44
-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
+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
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= nls
.endif
-PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-cpp
+PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-c++
PKG_OPTIONS_LEGACY_VARS+= BUILD_FORTRAN:gcc-fortran
PKG_OPTIONS_LEGACY_VARS+= BUILD_JAVA:gcc-java
PKG_OPTIONS_LEGACY_VARS+= BUILD_OBJC:gcc-objc
@@ -36,8 +35,8 @@ CONFIGURE_ARGS+= --disable-nls
LANGS= c
.if !empty(PKG_OPTIONS:Mgcc-java)
-. if empty(PKG_OPTIONS:Mgcc-cpp)
-PKG_OPTIONS+= gcc-cpp
+. if empty(PKG_OPTIONS:Mgcc-c++)
+PKG_OPTIONS+= gcc-c++
. endif
LANGS+= java
@@ -64,7 +63,7 @@ MAKE_ENV+= ac_cv_prog_JAR=no
.include "../../lang/python/application.mk"
.endif
-.if !empty(PKG_OPTIONS:Mgcc-cpp)
+.if !empty(PKG_OPTIONS:Mgcc-c++)
LANGS+= c++
USE_TOOLS+= perl
CONFIGURE_ARGS+= --enable-__cxa_atexit