summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-04 22:59:16 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-04 22:59:16 +0000
commitd6973fbe5284d87e5a708fe6b35855119af1d5c1 (patch)
treef79f33a8979f3cf6d6eeea3e8e46462c1b33e203 /sys-devel/autoconf/autoconf-2.61-r2.ebuild
parentDrop automake-1.9 requirement #454750 by Alphat-PC. (diff)
downloadgentoo-2-d6973fbe5284d87e5a708fe6b35855119af1d5c1.tar.gz
gentoo-2-d6973fbe5284d87e5a708fe6b35855119af1d5c1.tar.bz2
gentoo-2-d6973fbe5284d87e5a708fe6b35855119af1d5c1.zip
Initial USE=multislot support. Also drop -j1 workaround for newer versions as bug only affected 2.61.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-devel/autoconf/autoconf-2.61-r2.ebuild')
-rw-r--r--sys-devel/autoconf/autoconf-2.61-r2.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys-devel/autoconf/autoconf-2.61-r2.ebuild b/sys-devel/autoconf/autoconf-2.61-r2.ebuild
index 53ead6120a51..658cb5c982c0 100644
--- a/sys-devel/autoconf/autoconf-2.61-r2.ebuild
+++ b/sys-devel/autoconf/autoconf-2.61-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.61-r2.ebuild,v 1.9 2013/04/04 18:44:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.61-r2.ebuild,v 1.10 2013/04/04 22:59:16 vapier Exp $
inherit eutils
@@ -9,9 +9,9 @@ HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
-SLOT="2.5"
+SLOT=$(usex multislot "${PV}" "2.5")
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="emacs"
+IUSE="emacs multislot"
DEPEND=">=sys-devel/m4-1.4.6
dev-lang/perl"
@@ -22,6 +22,7 @@ PDEPEND="emacs? ( app-emacs/autoconf-mode )"
src_unpack() {
unpack ${A}
cd "${S}"
+ use multislot && find -name Makefile.in -exec sed -i '/^pkgdatadir/s:$:-@VERSION@:' {} +
epatch "${FILESDIR}"/${P}-GETMNTENT.patch
}
@@ -41,4 +42,11 @@ src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS BUGS NEWS README TODO THANKS \
ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2
+
+ if use multislot ; then
+ local f
+ for f in "${D}"/usr/share/info/*.info* ; do
+ mv "${f}" "${f/.info/-${SLOT}.info}" || die
+ done
+ fi
}