diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/autogen/ChangeLog | 10 | ||||
-rw-r--r-- | sys-devel/autogen/autogen-5.10.1.ebuild | 38 | ||||
-rw-r--r-- | sys-devel/autogen/files/autogen-5.10.1-build-hang.patch | 18 | ||||
-rw-r--r-- | sys-devel/autogen/files/autogen-5.10.1-chmod.patch | 13 |
4 files changed, 77 insertions, 2 deletions
diff --git a/sys-devel/autogen/ChangeLog b/sys-devel/autogen/ChangeLog index 3221a33246b9..0751c33da16f 100644 --- a/sys-devel/autogen/ChangeLog +++ b/sys-devel/autogen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/autogen -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/ChangeLog,v 1.58 2009/08/02 14:24:16 nixnut Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/ChangeLog,v 1.59 2010/04/21 19:19:48 pva Exp $ + +*autogen-5.10.1 (21 Apr 2010) + + 21 Apr 2010; Peter Volkov <pva@gentoo.org> +autogen-5.10.1.ebuild, + +files/autogen-5.10.1-build-hang.patch, +files/autogen-5.10.1-chmod.patch: + Version bump, bug #300561, thank Jeroen Roovers for report. 02 Aug 2009; nixnut <nixnut@gentoo.org> autogen-5.9.7.ebuild: ppc stable #274468 diff --git a/sys-devel/autogen/autogen-5.10.1.ebuild b/sys-devel/autogen/autogen-5.10.1.ebuild new file mode 100644 index 000000000000..40a92e58f445 --- /dev/null +++ b/sys-devel/autogen/autogen-5.10.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/autogen-5.10.1.ebuild,v 1.1 2010/04/21 19:19:48 pva Exp $ + +EAPI="2" +inherit eutils + +DESCRIPTION="Program and text file generation" +HOMEPAGE="http://www.gnu.org/software/autogen/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +# autogen doesn't build with lower versions of guile on ia64 +DEPEND=">=dev-scheme/guile-1.6.6 + dev-libs/libxml2" + +pkg_setup() { + has_version '>=dev-scheme/guile-1.8' || return 0 + if ! built_with_use --missing false dev-scheme/guile deprecated threads ; then + eerror "You need to build dev-scheme/guile with USE='deprecated threads'" + die "re-emerge dev-scheme/guile with USE='deprecated threads'" + fi +} + +src_prepare() { + epatch "${FILESDIR}/autogen-5.10.1-build-hang.patch" + epatch "${FILESDIR}/autogen-5.10.1-chmod.patch" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO + rm -f "${D}"/usr/share/autogen/libopts-*.tar.gz +} diff --git a/sys-devel/autogen/files/autogen-5.10.1-build-hang.patch b/sys-devel/autogen/files/autogen-5.10.1-build-hang.patch new file mode 100644 index 000000000000..fd5bd3bab315 --- /dev/null +++ b/sys-devel/autogen/files/autogen-5.10.1-build-hang.patch @@ -0,0 +1,18 @@ +=== modified file 'agen5/bootstrap.dir' +--- agen5/bootstrap.dir 2010-04-19 07:43:40 +0000 ++++ agen5/bootstrap.dir 2010-04-19 07:55:56 +0000 +@@ -133,11 +133,12 @@ + while read var prog dir + do + test -n ${#dir} && set_exe_var +- done ) <<- EOF ++ done <<- EOF + AG ${AGnam-autogen} ${builddir} + GD ${GDnam-getdefs} ${builddir}/../getdefs + CL ${CLnam-columns} ${builddir}/../columns + EOF ++ ) + + ${VERBOSE:-false} && set -x || : + # Ensure complete success or a noticable failure + diff --git a/sys-devel/autogen/files/autogen-5.10.1-chmod.patch b/sys-devel/autogen/files/autogen-5.10.1-chmod.patch new file mode 100644 index 000000000000..1dc2878d7214 --- /dev/null +++ b/sys-devel/autogen/files/autogen-5.10.1-chmod.patch @@ -0,0 +1,13 @@ +=== modified file 'agen5/tpProcess.c' +--- agen5/tpProcess.c 2010-04-21 18:55:14 +0000 ++++ agen5/tpProcess.c 2010-04-21 18:55:48 +0000 +@@ -318,7 +318,7 @@ + char const * pzOutFile = NULL; + + if (strcmp( pOutSpec->zSuffix, "null" ) == 0) { +- static int const flags = FPF_NOUNLINK; ++ static int const flags = FPF_NOUNLINK | FPF_NOCHMOD; + null_open: + open_output_file(zDevNull, sizeof(zDevNull)-1, write_mode, flags); + return; + |