summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-24 09:56:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-24 09:56:04 +0000
commit7889703709e316e4554a6deb59442c531d6687cc (patch)
tree32e194f0273a3e542de73322c5225e56e5be9fc6 /app-arch/lha
parentppc stable wrt #418409 (diff)
downloadgentoo-2-7889703709e316e4554a6deb59442c531d6687cc.tar.gz
gentoo-2-7889703709e316e4554a6deb59442c531d6687cc.tar.bz2
gentoo-2-7889703709e316e4554a6deb59442c531d6687cc.zip
Fix building with sys-devel/automake >= 1.12 wrt #423125
(Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/lha')
-rw-r--r--app-arch/lha/ChangeLog5
-rw-r--r--app-arch/lha/lha-114i-r7.ebuild28
2 files changed, 20 insertions, 13 deletions
diff --git a/app-arch/lha/ChangeLog b/app-arch/lha/ChangeLog
index 90db2e755ac2..f74d4a7dc1ca 100644
--- a/app-arch/lha/ChangeLog
+++ b/app-arch/lha/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/lha
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/ChangeLog,v 1.49 2012/03/05 20:10:42 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/ChangeLog,v 1.50 2012/06/24 09:56:04 ssuominen Exp $
+
+ 24 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> lha-114i-r7.ebuild:
+ Fix building with sys-devel/automake >= 1.12 wrt #423125
05 Mar 2012; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy maintainer
diff --git a/app-arch/lha/lha-114i-r7.ebuild b/app-arch/lha/lha-114i-r7.ebuild
index 70465d70c3d2..8ed10ad8ebb4 100644
--- a/app-arch/lha/lha-114i-r7.ebuild
+++ b/app-arch/lha/lha-114i-r7.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r7.ebuild,v 1.9 2010/04/06 05:46:49 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r7.ebuild,v 1.10 2012/06/24 09:56:04 ssuominen Exp $
-EAPI="3"
+EAPI=4
+inherit autotools eutils flag-o-matic
-inherit eutils autotools
-
-MY_P="${PN}-1.14i-ac20050924p1"
+MY_P=${PN}-1.14i-ac20050924p1
DESCRIPTION="Utility for creating and opening lzh archives"
HOMEPAGE="http://lha.sourceforge.jp"
@@ -17,27 +16,32 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
IUSE=""
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}"/${MY_P}
+S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-file-list-from-stdin.patch
+
+ sed -i -e '/^AM_C_PROTOTYPES/d' configure.ac || die #423125
+
eautoreconf
}
src_configure() {
+ append-cppflags -DPROTOTYPES #423125
+
if [[ ${CHOST} == *-interix* ]]; then
export ac_cv_header_inttypes_h=no
export ac_cv_func_iconv=no
fi
+
econf
}
src_install() {
- emake DESTDIR="${D}" \
+ emake \
+ DESTDIR="${D}" \
mandir="${EPREFIX}"/usr/share/man/ja \
- install || die "emake failed."
+ install
+
dodoc ChangeLog Hacking_of_LHa
}