summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnatspec')
-rw-r--r--dev-libs/libnatspec/ChangeLog6
-rw-r--r--dev-libs/libnatspec/Manifest25
-rw-r--r--dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch12
-rw-r--r--dev-libs/libnatspec/libnatspec-0.2.6.ebuild13
4 files changed, 46 insertions, 10 deletions
diff --git a/dev-libs/libnatspec/ChangeLog b/dev-libs/libnatspec/ChangeLog
index 0e997d8f1077..db8d32b549a0 100644
--- a/dev-libs/libnatspec/ChangeLog
+++ b/dev-libs/libnatspec/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libnatspec
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnatspec/ChangeLog,v 1.10 2011/12/13 11:23:19 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnatspec/ChangeLog,v 1.11 2011/12/18 11:14:43 naota Exp $
+
+ 18 Dec 2011; Naohiro Aota <naota@gentoo.org> libnatspec-0.2.6.ebuild,
+ +files/libnatspec-0.2.6-iconv.patch:
+ Regenerate libtool. Add patch to detect libiconv
13 Dec 2011; Naohiro Aota <naota@gentoo.org> metadata.xml:
Assign to cjk herd
diff --git a/dev-libs/libnatspec/Manifest b/dev-libs/libnatspec/Manifest
index 47bf7c3f846b..83b155589853 100644
--- a/dev-libs/libnatspec/Manifest
+++ b/dev-libs/libnatspec/Manifest
@@ -1,14 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
+AUX libnatspec-0.2.6-iconv.patch 323 RMD160 939dcbd9634560f7ea185055c6fe0686ef137057 SHA1 a782198cc330b33ddb3332d6cab899d67811f7e0 SHA256 bcfb22cfd31acd6dec502b3969dd5b055b671c5233b964094db487171d30b1db
DIST libnatspec-0.2.6.tar.bz2 500525 RMD160 17b74bd6223a0b85fd3d4184a085f778b13df000 SHA1 25d75f084c98eb58bb6181bcc85a078c79adcba9 SHA256 c3831f7373501ed7b23ffb03d9a78650dee93dbf997a61767b7dea009d4a757f
-EBUILD libnatspec-0.2.6.ebuild 921 RMD160 f08e38cab5c6ffefc934ad83bc148ad44fe1d072 SHA1 20b8b5990d93023f6db60babc2844c1e31764707 SHA256 58f833263157a2268e3fe5ee9f7aab05aaa3cf9c65fbf9ed0e18e84ce1eabcc8
-MISC ChangeLog 1344 RMD160 99a7af7b72e3b0c92a9f191eff11e7c3d300d974 SHA1 adf586a0e7709697c6ccdc522c81859d03f3a56f SHA256 629cf12b18f0b8552576c25534b58ea9a3d48e84740bbc3121ffcf79ce448846
+EBUILD libnatspec-0.2.6.ebuild 1107 RMD160 31d19c092558182d2c6aba1165aae69923675236 SHA1 6d78697483ac8edac7f62f71abbe1721baf19dbf SHA256 368ebd23aa7c0119b9a708d1d312007c73e029259a60a08254e86c2b60e4396a
+MISC ChangeLog 1507 RMD160 51f3e970e0b1c1646daaa4aad2d75a3159d63899 SHA1 5e8f68e988cfd0c93e3d7986b841d428b4ee44b6 SHA256 d18103738d7c490a5a41a88c4f4d001205666ace4348a8071900ac10b2c78647
MISC metadata.xml 158 RMD160 3852afaaf28a37630993c0442eeb16eaee47d0f7 SHA1 2eb582eae6a2477a9ed984ea45f3b5f649954e54 SHA256 18d71c580f82a389887f4970802b5f40e0a2e4c6019117e64268e008dfb81fc8
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (FreeBSD)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7nNa0ACgkQGpDnPLSHuMCJfQCgnxdWMt22XfJRVkPMIgor81TL
-yLoAn19XSAKwEfm/CS/sbqrrak/aqZim
-=YvvI
+iQIcBAEBCAAGBQJO7cstAAoJEDYO1FT4VRUUD1gP+gO6ogw1shL+iRr6c+KNAMcG
+1zbpPQnu2tSMf5sD6GlAMSsuxoZICW1x/gzYStlO1WpSBjyy9XWWiNDIRjtYoNvv
+XESolj8UjMz68RcpWhaerrUobJ6SyyjEJyqmgwwVh/iRPIMx1wEd2uTiTKVmavUA
+YyFOXhsdPC1baOvMC65L2NSRepWLwwfIaRrb2TmUT1V7SQAo3RcWl3Svd7HdRSue
+mCxaR6rVaB3Fh1TRbOPuzkH1fzVVKGmZRNpkS5AGKkuw2zsjANaNbUIaAPHtjTei
+/VvWp3Q8gMT6+6Chl74kHN0bA+6H5sv4BHA22Lplf6fGuMBeUNpycpUENCxYNBmB
+uO2IAiFwREUp95iIn9VjqzGMRW8ZKYYZDNvIDQywVMDXV7pKxjahoaMIE/Twnte6
+192HfszTXQZnOP5qgGP9gdggPcLjQ5bexyX6p7xfoCakNkn5kuPrM85uv8ER1CwY
+Gz1yHK7KZ7LgZERKRRpDmLlJXlTVZpUJMekwo6VZCBO+G6PH1vCK8h2jhyLJ3HXu
+J+UbGleJ7YHca6vonaYY3Uzidmk36bKaqVzZ8hMfu9npcWAB5xOvdrLO5HoVX+a0
+RU/hqtlp8XYqjlEJ/t4V6HgtPw+++skjt44wfyH+lyntCBW/1SrlbBntL8/qFXbw
+8EMKjzjSyXiD058SBcXn
+=gR4J
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch b/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch
new file mode 100644
index 000000000000..baf024d29b1a
--- /dev/null
+++ b/dev-libs/libnatspec/files/libnatspec-0.2.6-iconv.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index ce9ce28..f1c4826 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -50,6 +50,7 @@ AC_CHECK_HEADERS([iconv.h],check_iconv=true)
+ if test "x$check_iconv" == x ; then
+ AC_MSG_ERROR([*** iconv.h not found.])
+ fi
++AC_CHECK_LIB([iconv], libiconv_open)
+
+ # check Doxygen
+ DOXYGEN=""
diff --git a/dev-libs/libnatspec/libnatspec-0.2.6.ebuild b/dev-libs/libnatspec/libnatspec-0.2.6.ebuild
index 2d0a4d23d89a..423152468d0f 100644
--- a/dev-libs/libnatspec/libnatspec-0.2.6.ebuild
+++ b/dev-libs/libnatspec/libnatspec-0.2.6.ebuild
@@ -1,16 +1,18 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnatspec/libnatspec-0.2.6.ebuild,v 1.8 2011/03/12 12:41:46 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnatspec/libnatspec-0.2.6.ebuild,v 1.9 2011/12/18 11:14:43 naota Exp $
EAPI="2"
+inherit autotools
+
DESCRIPTION="library to smooth charset/localization issues"
HOMEPAGE="http://natspec.sourceforge.net/"
SRC_URI="mirror://sourceforge/natspec/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="doc python"
RDEPEND="python? ( >=dev-lang/python-2.3 )
@@ -19,6 +21,13 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
python? ( dev-lang/tcl )"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-iconv.patch
+ # regenerate to fix imcompatible readlink usage
+ rm -f "${S}"/ltmain.sh "${S}"/libtool
+ eautoreconf
+}
+
src_configure() {
use doc || export ac_cv_prog_DOX=no
# braindead configure script does not disable python on --without-python