summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-03-16 11:55:50 +0000
committerRoy Marples <uberlord@gentoo.org>2007-03-16 11:55:50 +0000
commit98efb445261f3d704ecd6366d4676cfe996e7c7a (patch)
tree5ac525fdcbd17f56125d89e05b4e10d753b95043 /net-dns
parentversion bump (diff)
downloadgentoo-2-98efb445261f3d704ecd6366d4676cfe996e7c7a.tar.gz
gentoo-2-98efb445261f3d704ecd6366d4676cfe996e7c7a.tar.bz2
gentoo-2-98efb445261f3d704ecd6366d4676cfe996e7c7a.zip
idn requires iconv, which is in a separate library for non glibc systems.
Fixes #171043. (Portage version: 2.1.2.2)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind-tools/ChangeLog6
-rw-r--r--net-dns/bind-tools/bind-tools-9.4.0.ebuild9
2 files changed, 11 insertions, 4 deletions
diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog
index ec01d782e291..b580b529f9fa 100644
--- a/net-dns/bind-tools/ChangeLog
+++ b/net-dns/bind-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/bind-tools
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.68 2007/02/28 15:04:04 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.69 2007/03/16 11:55:50 uberlord Exp $
+
+ 16 Mar 2007; Roy Marples <uberlord@gentoo.org> bind-tools-9.4.0.ebuild:
+ idn requires iconv, which is in a separate library for non glibc systems.
+ Fixes #171043.
*bind-tools-9.4.0 (28 Feb 2007)
diff --git a/net-dns/bind-tools/bind-tools-9.4.0.ebuild b/net-dns/bind-tools/bind-tools-9.4.0.ebuild
index d39879248dda..9eb56f769c86 100644
--- a/net-dns/bind-tools/bind-tools-9.4.0.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.4.0.ebuild,v 1.1 2007/02/28 15:04:04 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.0.ebuild,v 1.2 2007/03/16 11:55:50 uberlord Exp $
inherit flag-o-matic
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="idn ipv6"
-DEPEND=""
+DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv ) )"
src_unpack() {
unpack "${A}" || die
@@ -37,6 +37,7 @@ src_unpack() {
}
src_compile() {
+ local myconf=
use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
econf ${myconf} || die "Configure failed"
@@ -55,7 +56,9 @@ src_compile() {
use idn && {
cd ${S}/contrib/idn/idnkit-1.0-src
- econf || die "idn econf failed"
+ local myconf=
+ has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
+ econf ${myconf} || die "idn econf failed"
emake -j1 || die "idn emake failed"
}
}