diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-03-31 11:51:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-03-31 11:51:16 +0000 |
commit | 3f011b3bf60f4412af8eb2272989360daa407e18 (patch) | |
tree | 830c6ec8c66cfe0779b4a9303f566f77c09ca332 /sys-devel | |
parent | Disable automagic dependency over libsigsegv (bug #312351); use parallel make... (diff) | |
download | gentoo-2-3f011b3bf60f4412af8eb2272989360daa407e18.tar.gz gentoo-2-3f011b3bf60f4412af8eb2272989360daa407e18.tar.bz2 gentoo-2-3f011b3bf60f4412af8eb2272989360daa407e18.zip |
Disable libsigsegv automagic dependency (bug #278026).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/m4/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.14-r1.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-devel/m4/ChangeLog b/sys-devel/m4/ChangeLog index dfbce8a2a8a6..2c4040895ab1 100644 --- a/sys-devel/m4/ChangeLog +++ b/sys-devel/m4/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/m4 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.130 2010/03/28 11:20:59 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.131 2010/03/31 11:51:16 flameeyes Exp $ + +*m4-1.4.14-r1 (31 Mar 2010) + + 31 Mar 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +m4-1.4.14-r1.ebuild: + Disable libsigsegv automagic dependency (bug #278026). 28 Mar 2010; Javier Villavicencio <the_paya@gentoo.org> m4-1.4.14.ebuild, +files/m4-1.4.14-gnulib_spawn.patch: diff --git a/sys-devel/m4/m4-1.4.14-r1.ebuild b/sys-devel/m4/m4-1.4.14-r1.ebuild new file mode 100644 index 000000000000..cb3cff1a59fa --- /dev/null +++ b/sys-devel/m4/m4-1.4.14-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.14-r1.ebuild,v 1.1 2010/03/31 11:51:16 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="GNU macro processor" +HOMEPAGE="http://www.gnu.org/software/m4/m4.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="examples" + +# remember: cannot dep on autoconf since it needs us +DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.4.14-gnulib_spawn.patch # 310335 +} + +src_compile() { + # Disable automagic dependency over libsigsegv; see bug #278026 + export ac_cv_libsigsegv=no + + local myconf="" + [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" + econf \ + --enable-changeword \ + ${myconf} \ + || die + emake || die +} + +src_test() { + [[ -d /none ]] && die "m4 tests will fail with /none/" #244396 + emake check || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc BACKLOG ChangeLog NEWS README* THANKS TODO + if use examples ; then + docinto examples + dodoc examples/* + rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* + fi + rm -f "${D}"/usr/lib/charset.alias #172864 +} |