summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-11-23 13:03:02 +0000
committerNaohiro Aota <naota@gentoo.org>2011-11-23 13:03:02 +0000
commit3deb59b752c2ff321add1ea0a675105b6c602923 (patch)
tree3d027fb20c728fa5048cdc0d9b13d86d5476c7fb /net-dns/idnkit
parentversion bump, use back regular SRC_URI. (diff)
downloadgentoo-2-3deb59b752c2ff321add1ea0a675105b6c602923.tar.gz
gentoo-2-3deb59b752c2ff321add1ea0a675105b6c602923.tar.bz2
gentoo-2-3deb59b752c2ff321add1ea0a675105b6c602923.zip
Add ~x86-fbsd. Depends on virtual/iconv instead of glibc; Specify --with-libiconv when it's available. Bug #377725
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'net-dns/idnkit')
-rw-r--r--net-dns/idnkit/ChangeLog6
-rw-r--r--net-dns/idnkit/idnkit-1.0-r2.ebuild13
2 files changed, 13 insertions, 6 deletions
diff --git a/net-dns/idnkit/ChangeLog b/net-dns/idnkit/ChangeLog
index e03f77be62bf..2012902a73bf 100644
--- a/net-dns/idnkit/ChangeLog
+++ b/net-dns/idnkit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/idnkit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/ChangeLog,v 1.31 2011/10/11 15:18:36 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/ChangeLog,v 1.32 2011/11/23 13:03:02 naota Exp $
+
+ 23 Nov 2011; Naohiro Aota <naota@gentoo.org> idnkit-1.0-r2.ebuild:
+ Add ~x86-fbsd. Depends on virtual/iconv instead of glibc; Specify
+ --with-libiconv when it's available.
*idnkit-1.0-r2 (11 Oct 2011)
diff --git a/net-dns/idnkit/idnkit-1.0-r2.ebuild b/net-dns/idnkit/idnkit-1.0-r2.ebuild
index 80a45aae1d21..70f63883f3d0 100644
--- a/net-dns/idnkit/idnkit-1.0-r2.ebuild
+++ b/net-dns/idnkit/idnkit-1.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/idnkit-1.0-r2.ebuild,v 1.1 2011/10/11 15:18:36 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/idnkit-1.0-r2.ebuild,v 1.2 2011/11/23 13:03:02 naota Exp $
EAPI="4"
@@ -12,11 +12,10 @@ SRC_URI="http://www.nic.ad.jp/ja/idn/idnkit/download/sources/${P}-src.tar.gz"
LICENSE="JNIC"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="static-libs"
-DEPEND="sys-libs/glibc"
-# non gnu systems need libiconv
+DEPEND="virtual/libiconv"
S=${WORKDIR}/${P}-src
@@ -29,7 +28,11 @@ src_prepare() {
}
src_configure() {
- econf $(use_enable static-libs static)
+ myconf=""
+ if has_version dev-libs/libiconv; then
+ myconf="--with-iconv"
+ fi
+ econf $(use_enable static-libs static) ${myconf}
}
src_install() {