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.
This commit is contained in:
marino 2012-07-15 11:50:53 +00:00
parent caf662e3db
commit 4a9b8cce57
2 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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