summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-05-04 04:44:53 +0000
committerNaohiro Aota <naota@gentoo.org>2013-05-04 04:44:53 +0000
commit807e784f45cf3c20d768101cdd6e57042cd22ee6 (patch)
tree5c13a3643028ffceba49d6582d943ef3d6f8396c /sys-devel/autogen
parentRemove -Werror, thanks patrick and dirtyepic, bug 468246. (diff)
downloadgentoo-2-807e784f45cf3c20d768101cdd6e57042cd22ee6.tar.gz
gentoo-2-807e784f45cf3c20d768101cdd6e57042cd22ee6.tar.bz2
gentoo-2-807e784f45cf3c20d768101cdd6e57042cd22ee6.zip
Add patch to serch gettext. #466462
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'sys-devel/autogen')
-rw-r--r--sys-devel/autogen/ChangeLog6
-rw-r--r--sys-devel/autogen/autogen-5.17.3.ebuild9
-rw-r--r--sys-devel/autogen/files/autogen-5.17.3-libintl.patch12
3 files changed, 25 insertions, 2 deletions
diff --git a/sys-devel/autogen/ChangeLog b/sys-devel/autogen/ChangeLog
index 8f081d4cbf7b..a937c7ace537 100644
--- a/sys-devel/autogen/ChangeLog
+++ b/sys-devel/autogen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/autogen
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/ChangeLog,v 1.94 2013/04/27 14:35:06 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/ChangeLog,v 1.95 2013/05/04 04:44:53 naota Exp $
+
+ 04 May 2013; Naohiro Aota <naota@gentoo.org>
+ +files/autogen-5.17.3-libintl.patch, autogen-5.17.3.ebuild:
+ Add patch to serch gettext. #466462
27 Apr 2013; Fabian Groffen <grobian@gentoo.org> autogen-5.17.3.ebuild:
Suppress -R directions in autoopts-config output for some platforms don't grok
diff --git a/sys-devel/autogen/autogen-5.17.3.ebuild b/sys-devel/autogen/autogen-5.17.3.ebuild
index 2c90a30a593b..d7c94db68606 100644
--- a/sys-devel/autogen/autogen-5.17.3.ebuild
+++ b/sys-devel/autogen/autogen-5.17.3.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/autogen-5.17.3.ebuild,v 1.2 2013/04/27 14:35:06 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/autogen-5.17.3.ebuild,v 1.3 2013/05/04 04:44:53 naota Exp $
EAPI="4"
+inherit eutils autotools
+
DESCRIPTION="Program and text file generation"
HOMEPAGE="http://www.gnu.org/software/autogen/"
SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
@@ -17,6 +19,11 @@ RDEPEND=">=dev-scheme/guile-1.8
dev-libs/libxml2"
DEPEND="${RDEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libintl.patch
+ eautoreconf
+}
+
src_configure() {
# suppress possibly incorrect -R flag
export ag_cv_test_ldflags=
diff --git a/sys-devel/autogen/files/autogen-5.17.3-libintl.patch b/sys-devel/autogen/files/autogen-5.17.3-libintl.patch
new file mode 100644
index 000000000000..b7738fd40943
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.17.3-libintl.patch
@@ -0,0 +1,12 @@
+diff --git a/config/libopts.m4 b/config/libopts.m4
+index 8046587..a74ca8b 100644
+--- a/config/libopts.m4
++++ b/config/libopts.m4
+@@ -106,6 +106,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
+ # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
+ # ----------------------------------------------------------------------
+ AC_CHECK_LIB(gen, pathfind)
++ AC_SEARCH_LIBS([gettext], [intl])
+ AC_FUNC_VPRINTF
+ AC_FUNC_FORK
+ AC_CHECK_FUNCS([mmap canonicalize_file_name snprintf strdup strchr \