summaryrefslogtreecommitdiff
path: root/lang/gcc-aux
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-07-15 11:50:53 +0000
committermarino <marino@pkgsrc.org>2012-07-15 11:50:53 +0000
commit4a9b8cce574dc21357d25540ad7a97590e1ef243 (patch)
tree66860a2c74bde94fc028c260335409d51d78b6d9 /lang/gcc-aux
parentcaf662e3db047353713e45e5d87d1647f8335766 (diff)
downloadpkgsrc-4a9b8cce574dc21357d25540ad7a97590e1ef243.tar.gz
lang/gcc-aux: Add condition to buildlink3
The NLS option is optional, but the buildlink pulled in gettext-lib unconditionally. This caused failures in Tinderbox and pbuld chroot when gettext-lib couldn't be found in those clean environments. The final result is that all Ada programs file to build in those environments. Also removed whitespace from DESC.
Diffstat (limited to 'lang/gcc-aux')
-rw-r--r--lang/gcc-aux/DESCR6
-rw-r--r--lang/gcc-aux/buildlink3.mk7
2 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc-aux/DESCR b/lang/gcc-aux/DESCR
index f14dc216ff7..5a43a5b46ce 100644
--- a/lang/gcc-aux/DESCR
+++ b/lang/gcc-aux/DESCR
@@ -1,11 +1,11 @@
-The AUX compiler supports several languages: Ada, C, C++, Fortran and
+The AUX compiler supports several languages: Ada, C, C++, Fortran and
Objective-C. Since Ada support must be built by an Ada-capable compiler,
only platforms for which a bootstrap compiler is available can build the
AUX compiler.
-The AUX compiler is based on release versions of the Free Software
+The AUX compiler is based on release versions of the Free Software
Foundation's GNU Compiler Collection. It carries with it the GMGPL license,
-the modified version of the GPL that exempts generic instantiation from
+the modified version of the GPL that exempts generic instantiation from
resulting in a GPL-licensed executable. It also carries the GCC Runtime
Library Exception, so the resulting binaries have no licensing requirements.
Binaries produced by the AUX compiler should be legally handled the same as
diff --git a/lang/gcc-aux/buildlink3.mk b/lang/gcc-aux/buildlink3.mk
index 6e260842daa..ecf0b173dd4 100644
--- a/lang/gcc-aux/buildlink3.mk
+++ b/lang/gcc-aux/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2012/07/08 19:30:38 marino Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2012/07/15 11:50:53 marino Exp $
BUILDLINK_TREE+= gcc-aux
@@ -9,10 +9,13 @@ BUILDLINK_API_DEPENDS.gcc-aux+= gcc-aux>=20120614
BUILDLINK_PKGSRCDIR.gcc-aux?= ../../lang/gcc-aux
.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../math/mpcomplex/buildlink3.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gcc-aux:Mnls)
+.include "../../devel/gettext-lib/buildlink3.mk"
+.endif
.endif
BUILDLINK_TREE+= -gcc-aux