diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-02 10:54:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-02 10:54:16 +0000 |
commit | 503fdb8401ccf39b47dde74d5036f7d524166a02 (patch) | |
tree | 14e2e40a1cb7dcced9db979bf86fb1f873a0132d /net-dns | |
parent | Version bump to latest. Drop older. (diff) | |
download | gentoo-2-503fdb8401ccf39b47dde74d5036f7d524166a02.tar.gz gentoo-2-503fdb8401ccf39b47dde74d5036f7d524166a02.tar.bz2 gentoo-2-503fdb8401ccf39b47dde74d5036f7d524166a02.zip |
Fix cross-compilation (bug #266570) by exporting BUILD_CC and forcing-enabled epoll on Linux builds. Also change the libiconv dependency on idn. Note that USE=ssl fails because there is another AC_TRY_RUN call that is not short-circuitable.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind-tools/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/bind-tools/bind-tools-9.8.0.ebuild | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog index 65f8265b740a..5f8e6dda8bdf 100644 --- a/net-dns/bind-tools/ChangeLog +++ b/net-dns/bind-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dns/bind-tools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.195 2011/05/27 19:03:47 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.196 2011/06/02 10:54:16 flameeyes Exp $ + + 02 Jun 2011; Diego E. Pettenò <flameeyes@gentoo.org> + bind-tools-9.8.0.ebuild: + Fix cross-compilation (bug #266570) by exporting BUILD_CC and forcing-enabled + epoll on Linux builds. Also change the libiconv dependency on idn. Note that + USE=ssl fails because there is another AC_TRY_RUN call that is not + short-circuitable. 27 May 2011; Christian Ruppert <idl0r@gentoo.org> -bind-tools-9.6.2_p2-r2.ebuild, -bind-tools-9.6.3.ebuild, diff --git a/net-dns/bind-tools/bind-tools-9.8.0.ebuild b/net-dns/bind-tools/bind-tools-9.8.0.ebuild index c3894eedcd73..c786aa0921c0 100644 --- a/net-dns/bind-tools/bind-tools-9.8.0.ebuild +++ b/net-dns/bind-tools/bind-tools-9.8.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.8.0.ebuild,v 1.1 2011/03/01 17:52:18 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.8.0.ebuild,v 1.2 2011/06/02 10:54:16 flameeyes Exp $ EAPI="3" -inherit eutils autotools flag-o-matic +inherit eutils autotools flag-o-matic toolchain-funcs MY_PN=${PN//-tools} MY_PV=${PV/_p/-P} @@ -23,7 +23,7 @@ IUSE="doc idn ipv6 ssl urandom xml" DEPEND="ssl? ( dev-libs/openssl ) xml? ( dev-libs/libxml2 ) idn? ( - || ( sys-libs/glibc dev-libs/libiconv ) + virtual/libiconv net-dns/idnkit )" RDEPEND="${DEPEND}" @@ -58,8 +58,10 @@ src_configure() { # bug 344029 append-cflags "-DDIG_SIGCHASE" + tc-export BUILD_CC econf \ $(use_enable ipv6) \ + $(use_enable kernel_linux epoll) \ $(use_with idn) \ $(use_with ssl openssl) \ $(use_with xml libxml2) \ |