diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2012-05-03 09:03:24 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2012-05-03 09:03:24 +0000 |
commit | 7dc4299704a52a898a13c7d570e818cd76a24bcc (patch) | |
tree | 05469ec97bdb8bb662520594cba918c87bc062c9 /dev-lang/nacl-toolchain-newlib | |
parent | dev-util/pkgconfig -> virtual/pkgconfig (diff) | |
download | gentoo-2-7dc4299704a52a898a13c7d570e818cd76a24bcc.tar.gz gentoo-2-7dc4299704a52a898a13c7d570e818cd76a24bcc.tar.bz2 gentoo-2-7dc4299704a52a898a13c7d570e818cd76a24bcc.zip |
Unset environment variables known to break the build; bug #413995 by Tim Press.
(Portage version: 2.1.10.49/cvs/Linux i686)
Diffstat (limited to 'dev-lang/nacl-toolchain-newlib')
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-lang/nacl-toolchain-newlib/ChangeLog b/dev-lang/nacl-toolchain-newlib/ChangeLog index d1faf546ac18..36c1dc54fdbd 100644 --- a/dev-lang/nacl-toolchain-newlib/ChangeLog +++ b/dev-lang/nacl-toolchain-newlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/nacl-toolchain-newlib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.14 2012/03/16 10:30:28 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/ChangeLog,v 1.15 2012/05/03 09:03:24 phajdan.jr Exp $ + + 03 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> + nacl-toolchain-newlib-0_p8034.ebuild: + Unset environment variables known to break the build; bug #413995 by Tim + Press. *nacl-toolchain-newlib-0_p8034 (16 Mar 2012) diff --git a/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild index 1b2bdade9968..08cc43550593 100644 --- a/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild +++ b/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild,v 1.1 2012/03/16 10:30:28 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nacl-toolchain-newlib/nacl-toolchain-newlib-0_p8034.ebuild,v 1.2 2012/05/03 09:03:24 phajdan.jr Exp $ EAPI="4" @@ -66,6 +66,14 @@ DEPEND="${RDEPEND} S="${WORKDIR}" +pkg_setup() { + # Unset variables known to break the build. This is a black-list + # rather than white-list because it's not obvious how to come up + # with a comprehensive white-list. + # For more info see bug #413995. + unset -v LANGUAGES || die +} + src_prepare() { mkdir SRC || die mv binutils-${BINUTILS_PV} SRC/binutils || die |