From d7f1a2bd118c7e90df2d1fbd2fde8fd12375d10f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 25 May 2012 03:26:41 +0000 Subject: Update to EAPI=4, and make --program-transform-name work with newer versions of autotools #318297 by Patrick Lauer. (Portage version: HEAD/cvs/Linux x86_64) --- app-text/docbook2X/docbook2X-0.8.8-r2.ebuild | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'app-text/docbook2X/docbook2X-0.8.8-r2.ebuild') diff --git a/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild b/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild index e92882e59073..21386a068bf2 100644 --- a/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild +++ b/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild,v 1.18 2012/05/09 15:46:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild,v 1.19 2012/05/25 03:26:41 vapier Exp $ -# bug 318297 -WANT_AUTOMAKE="1.10" +EAPI="4" inherit autotools eutils @@ -25,13 +24,9 @@ DEPEND="dev-lang/perl dev-perl/XML-LibXML app-text/docbook-xsl-stylesheets =app-text/docbook-xml-dtd-4.2*" - RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { # Patches from debian, for description see patches itself. epatch "${FILESDIR}"/${P}-filename_whitespace_handling.patch epatch "${FILESDIR}"/${P}-preprocessor_declaration_syntax.patch @@ -40,18 +35,10 @@ src_unpack() { eautoreconf #290284 } -src_compile() { +src_configure() { econf \ --with-xslt-processor=libxslt \ - --program-transform-name='s,\(docbook2.*\),\1.pl,' \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "install failed" - dodoc AUTHORS ChangeLog NEWS README THANKS TODO + --program-transform-name='/^docbook2/s,$,.pl,' } pkg_postinst() { -- cgit v1.2.3-65-gdbad