summaryrefslogtreecommitdiff
path: root/lang/gcc45/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-05-14 20:19:46 +0000
committerwiz <wiz@pkgsrc.org>2011-05-14 20:19:46 +0000
commit5b2edaa90db52bff8cb68d8f79b003ee1e30957f (patch)
treefb42701e63203a34f516c019c0557d4fb1d22204 /lang/gcc45/options.mk
parentf0cc2c6d307d02f06d5f50eade8fd967109fae7d (diff)
downloadpkgsrc-5b2edaa90db52bff8cb68d8f79b003ee1e30957f.tar.gz
Initial import of gcc45-4.5.2 from pkgsrc-wip.
Packaged by Marko Schütz, improved by Kai-Uwe Eckhardt. This is the gcc 4.5 compiler suite. This package has a test target. For testing (only), this package requires devel/dejagnu and devel/autogen.
Diffstat (limited to 'lang/gcc45/options.mk')
-rw-r--r--lang/gcc45/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/gcc45/options.mk b/lang/gcc45/options.mk
new file mode 100644
index 00000000000..a530b871096
--- /dev/null
+++ b/lang/gcc45/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1.1.1 2011/05/14 20:19:47 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gcc45
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS=
+.if ${OPSYS} == "NetBSD"
+PKG_SUGGESTED_OPTIONS+= nls
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Native Language Support
+###
+.if !empty(PKG_OPTIONS:Mnls)
+CONFIGURE_ARGS+= --enable-nls
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif