diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2010-08-03 08:45:44 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2010-08-03 08:45:44 +0000 |
commit | 2fcd86946c6e2031b1452beb95f2da113971a369 (patch) | |
tree | dfb9f6cc79dccc71f09c310ac8e331ecb996b6bd /dev-libs/libjit | |
parent | rm (diff) | |
download | gentoo-2-2fcd86946c6e2031b1452beb95f2da113971a369.tar.gz gentoo-2-2fcd86946c6e2031b1452beb95f2da113971a369.tar.bz2 gentoo-2-2fcd86946c6e2031b1452beb95f2da113971a369.zip |
Fix tests and cleanup. See bug #327297.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libjit')
-rw-r--r-- | dev-libs/libjit/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libjit/libjit-0.1.2.ebuild | 16 |
2 files changed, 18 insertions, 5 deletions
diff --git a/dev-libs/libjit/ChangeLog b/dev-libs/libjit/ChangeLog index b68596ff12e3..e2f38101542a 100644 --- a/dev-libs/libjit/ChangeLog +++ b/dev-libs/libjit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/libjit -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/ChangeLog,v 1.12 2009/03/08 18:41:32 loki_val Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/ChangeLog,v 1.13 2010/08/03 08:45:44 ali_bush Exp $ + + 03 Aug 2010; Alistair Bush <ali_bush@gentoo.org> libjit-0.1.2.ebuild: + Fix tests and cleanup. See bug #327297. *libjit-0.1.2 (08 Mar 2009) diff --git a/dev-libs/libjit/libjit-0.1.2.ebuild b/dev-libs/libjit/libjit-0.1.2.ebuild index 505f6281a488..a377cf716d49 100644 --- a/dev-libs/libjit/libjit-0.1.2.ebuild +++ b/dev-libs/libjit/libjit-0.1.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/libjit-0.1.2.ebuild,v 1.1 2009/03/08 18:41:32 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/libjit-0.1.2.ebuild,v 1.2 2010/08/03 08:45:44 ali_bush Exp $ EAPI=2 @@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/dotgnu/libjit/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="doc examples interpreter long-double new-reg-alloc" +IUSE="doc examples interpreter long-double" DEPEND="doc? ( app-text/texi2html )" RDEPEND="" @@ -43,6 +43,16 @@ src_compile() { fi } +src_test () { + if use interpreter || use long-double ; then + make check || die "Tests failed." + else + ewarn "Skipping Tests due to missing use flags" + einfo "Please enable either the interpreter or long-double use flags" + einfo "if you want to run tests." + fi +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |