diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-05-01 21:33:27 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-05-01 21:33:27 +0000 |
commit | 7342c30906be3d536be353041d94335139c16594 (patch) | |
tree | a6c9e4bddf72b5c7dc7fb96357896274c4afce68 /sys-devel | |
parent | bump (diff) | |
download | gentoo-2-7342c30906be3d536be353041d94335139c16594.tar.gz gentoo-2-7342c30906be3d536be353041d94335139c16594.tar.bz2 gentoo-2-7342c30906be3d536be353041d94335139c16594.zip |
Fix internal cross references in Info files, bug 183697.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/automake/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/automake/automake-1.10.1-r1.ebuild | 62 |
2 files changed, 69 insertions, 1 deletions
diff --git a/sys-devel/automake/ChangeLog b/sys-devel/automake/ChangeLog index 2a4893c0e11b..ebd33f4d4f7f 100644 --- a/sys-devel/automake/ChangeLog +++ b/sys-devel/automake/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/automake # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.116 2008/04/17 17:26:41 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.117 2008/05/01 21:33:27 ulm Exp $ + +*automake-1.10.1-r1 (01 May 2008) + + 01 May 2008; Ulrich Mueller <ulm@gentoo.org> +automake-1.10.1-r1.ebuild: + Fix internal cross references in Info files, bug 183697. Thanks to + Alfredo Tupone <tupone@gentoo.org> for the patch. 17 Apr 2008; nixnut <nixnut@gentoo.org> automake-1.10.1.ebuild: Stable on ppc wrt bug 217239 diff --git a/sys-devel/automake/automake-1.10.1-r1.ebuild b/sys-devel/automake/automake-1.10.1-r1.ebuild new file mode 100644 index 000000000000..3116fa930bef --- /dev/null +++ b/sys-devel/automake/automake-1.10.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.10.1-r1.ebuild,v 1.1 2008/05/01 21:33:27 ulm Exp $ + +inherit eutils + +DESCRIPTION="Used to generate Makefile.in from Makefile.am" +HOMEPAGE="http://sources.redhat.com/automake/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="${PV:0:4}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-lang/perl + >=sys-devel/automake-wrapper-2 + >=sys-devel/autoconf-2.60 + >=sys-apps/texinfo-4.7 + sys-devel/gnuconfig" +DEPEND="${RDEPEND} + sys-apps/help2man" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-tests.patch #217513 + chmod a+rx tests/*.test + sed -i \ + -e "s|: (automake)| v${SLOT}: (automake${SLOT})|" \ + doc/automake.texi || die "sed failed" + mv doc/automake{,${SLOT}}.texi + sed -i \ + -e "s:automake.info:automake${SLOT}.info:" \ + -e "s:automake.texi:automake${SLOT}.texi:" \ + doc/Makefile.in || die "sed on Makefile.in failed" + export WANT_AUTOCONF=2.5 +} + +src_compile() { + econf --docdir=/usr/share/doc/${PF} || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README THANKS TODO AUTHORS ChangeLog + + # SLOT the docs and junk + local x + for x in aclocal automake ; do + help2man ./${x} > ${x}-${SLOT}.1 + doman ${x}-${SLOT}.1 + rm -f "${D}"/usr/bin/${x} + done + + # remove all config.guess and config.sub files replacing them + # w/a symlink to a specific gnuconfig version + for x in guess sub ; do + dosym ../gnuconfig/config.${x} /usr/share/${PN}-${SLOT}/config.${x} + done +} |