diff options
author | 2013-04-04 22:59:16 +0000 | |
---|---|---|
committer | 2013-04-04 22:59:16 +0000 | |
commit | d6973fbe5284d87e5a708fe6b35855119af1d5c1 (patch) | |
tree | f79f33a8979f3cf6d6eeea3e8e46462c1b33e203 /sys-devel/autoconf/autoconf-2.63-r1.ebuild | |
parent | Drop automake-1.9 requirement #454750 by Alphat-PC. (diff) | |
download | gentoo-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.63-r1.ebuild')
-rw-r--r-- | sys-devel/autoconf/autoconf-2.63-r1.ebuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/sys-devel/autoconf/autoconf-2.63-r1.ebuild b/sys-devel/autoconf/autoconf-2.63-r1.ebuild index fbc087353ce3..e1a0aca3d152 100644 --- a/sys-devel/autoconf/autoconf-2.63-r1.ebuild +++ b/sys-devel/autoconf/autoconf-2.63-r1.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.63-r1.ebuild,v 1.3 2013/04/04 18:44:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.63-r1.ebuild,v 1.4 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}-sh.patch #264303 } @@ -32,13 +33,18 @@ src_compile() { # econf updates config.{sub,guess} which forces the manpages # to be regenerated which we dont want to do #146621 touch man/*.1 - # From configure output: - # Parallel builds via `make -jN' do not work. - emake -j1 || die + emake || die } 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 } |