summaryrefslogtreecommitdiff
path: root/lang/gcc34
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
commit39aae52e063ed023435320f21c58a1c16d866d1f (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/gcc34
parent113ff2274f575cf33db39900e0a169183f6f9c2d (diff)
downloadpkgsrc-39aae52e063ed023435320f21c58a1c16d866d1f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'lang/gcc34')
-rw-r--r--lang/gcc34/options.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc34/options.mk b/lang/gcc34/options.mk
index 3016d935d33..d8bc55c739e 100644
--- a/lang/gcc34/options.mk
+++ b/lang/gcc34/options.mk
@@ -1,13 +1,11 @@
-# $NetBSD: options.mk,v 1.5 2013/04/06 14:58:19 rodent Exp $
+# $NetBSD: options.mk,v 1.6 2016/02/25 14:42:55 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gcc34
PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran gcc-java gcc-objc gcc-ada
PKG_SUGGESTED_OPTIONS= gcc-inplace-math gcc-c++ gcc-fortran gcc-java gcc-objc
-.if ${OPSYS} == "NetBSD"
-PKG_SUGGESTED_OPTIONS+= nls
-.elif ${OPSYS} == "SunOS"
-PKG_SUGGESTED_OPTIONS+= gcc-inplace-math
-.endif
+
+PKG_SUGGESTED_OPTIONS.NetBSD+= nls
+PKG_SUGGESTED_OPTIONS.SunOS+= gcc-inplace-math
PKG_OPTIONS_LEGACY_VARS+= BUILD_CXX:gcc-c++
PKG_OPTIONS_LEGACY_VARS+= BUILD_F77:gcc-fortran