summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-04-22 08:19:59 +0000
committersbd <sbd@pkgsrc.org>2012-04-22 08:19:59 +0000
commita29a4df31013250a1a06762ec32281c4213c2973 (patch)
tree3db96c4afb0aa27e88b6000d33760777f4b0c59d /lang
parent6d42d8bef4a7b704242855cb7d6c73155ed4ca47 (diff)
downloadpkgsrc-a29a4df31013250a1a06762ec32281c4213c2973.tar.gz
The 'gcc-objc++' should enable both the 'gcc-c++' and 'gcc-objc' options.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc47/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc47/options.mk b/lang/gcc47/options.mk
index b8135e1a002..021b449b06b 100644
--- a/lang/gcc47/options.mk
+++ b/lang/gcc47/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2012/04/22 08:14:22 sbd Exp $
+# $NetBSD: options.mk,v 1.4 2012/04/22 08:19:59 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.${GCC_PKGNAME}
PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran gcc-java \
@@ -82,6 +82,9 @@ LIBS.SunOS+= -lgmp
. if empty(PKG_OPTIONS:Mgcc-c++)
PKG_OPTIONS+= gcc-c++
. endif
+. if empty(PKG_OPTIONS:Mgcc-objc)
+PKG_OPTIONS+= gcc-objc
+. endif
LANGS+= obj-c++
.endif