patrick 15/01/23 03:50:21 Modified: nqp-2014.12.ebuild ChangeLog Log: Work around weird build system failure with libffi, add missing dep on libffi (Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.2 dev-lang/nqp/nqp-2014.12.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild?r1=1.1&r2=1.2 Index: nqp-2014.12.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- nqp-2014.12.ebuild 20 Dec 2014 09:01:39 -0000 1.1 +++ nqp-2014.12.ebuild 23 Jan 2015 03:50:21 -0000 1.2 @@ -1,13 +1,13 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild,v 1.1 2014/12/20 09:01:39 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2014.12.ebuild,v 1.2 2015/01/23 03:50:21 patrick Exp $ EAPI=5 # still not working RESTRICT="test" -inherit eutils multilib +inherit eutils multilib versionator GITCRAP=64e7d41 PARROT_VERSION="6.7.0" @@ -24,7 +24,8 @@ RDEPEND="parrot? ( >=dev-lang/parrot-${PARROT_VERSION}:=[unicode] ) java? ( >=virtual/jre-1.7 ) - moar? ( =dev-lang/moarvm-${PV} )" + moar? ( =dev-lang/moarvm-${PV} ) + dev-libs/libffi" DEPEND="${RDEPEND} java? ( >=virtual/jdk-1.7 ) dev-lang/perl" @@ -44,6 +45,10 @@ # more dirty hack to allow building with newer gcc sed -i -e 's/-Werror=implicit-function-declaration//' Makefile || die sed -i -e 's/-Werror=nested-externs//' Makefile || die + + # horrible hackery, but we need to know where libffi hides its headers ... + libffi_path=$(echo /usr/lib64/libffi-*) + sed -i -e "s:/usr/lib64/libffi-3.1:${libffi_path}:" Makefile || die } src_compile() { 1.58 dev-lang/nqp/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/ChangeLog?rev=1.58&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/ChangeLog?rev=1.58&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqp/ChangeLog?r1=1.57&r2=1.58 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/nqp/ChangeLog,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- ChangeLog 20 Dec 2014 09:01:39 -0000 1.57 +++ ChangeLog 23 Jan 2015 03:50:21 -0000 1.58 @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/nqp -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/ChangeLog,v 1.57 2014/12/20 09:01:39 patrick Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/ChangeLog,v 1.58 2015/01/23 03:50:21 patrick Exp $ + + 23 Jan 2015; Patrick Lauer <patr...@gentoo.org> nqp-2014.12.ebuild: + Work around weird build system failure with libffi, add missing dep on libffi *nqp-2014.12 (20 Dec 2014)