summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-11-25 04:47:46 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-11-25 04:47:46 +0000
commit60258bb71898eee8f3d5d02304e29ec68432ed6d (patch)
tree8962310137c664c7639fd20e558b104542b75e1c /dev-lang
parentFixed build with newer gcc, re-enabling parrot backend (diff)
downloadgentoo-2-60258bb71898eee8f3d5d02304e29ec68432ed6d.tar.gz
gentoo-2-60258bb71898eee8f3d5d02304e29ec68432ed6d.tar.bz2
gentoo-2-60258bb71898eee8f3d5d02304e29ec68432ed6d.zip
Re-add parrot/nqp backend as nqp works again
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rakudo/ChangeLog8
-rw-r--r--dev-lang/rakudo/rakudo-2014.11-r1.ebuild (renamed from dev-lang/rakudo/rakudo-2014.11.ebuild)14
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-lang/rakudo/ChangeLog b/dev-lang/rakudo/ChangeLog
index 507011c7f64a..78f4871277ea 100644
--- a/dev-lang/rakudo/ChangeLog
+++ b/dev-lang/rakudo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/rakudo
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.64 2014/11/24 01:48:46 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.65 2014/11/25 04:47:46 patrick Exp $
+
+*rakudo-2014.11-r1 (25 Nov 2014)
+
+ 25 Nov 2014; Patrick Lauer <patrick@gentoo.org> +rakudo-2014.11-r1.ebuild,
+ -rakudo-2014.11.ebuild:
+ Re-add parrot/nqp backend as nqp works again
*rakudo-2014.11 (24 Nov 2014)
diff --git a/dev-lang/rakudo/rakudo-2014.11.ebuild b/dev-lang/rakudo/rakudo-2014.11-r1.ebuild
index 968108be0d93..c2581d8f2397 100644
--- a/dev-lang/rakudo/rakudo-2014.11.ebuild
+++ b/dev-lang/rakudo/rakudo-2014.11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2014.11.ebuild,v 1.1 2014/11/24 01:48:46 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2014.11-r1.ebuild,v 1.1 2014/11/25 04:47:46 patrick Exp $
EAPI=5
@@ -8,17 +8,17 @@ PARROT_VERSION="6.7.0"
inherit eutils multilib
-DESCRIPTION="A Perl 6 implementation"
+DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://rakudo.org/downloads/${PN}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc java +moar"
+IUSE="doc +parrot java moar"
-RDEPEND="
- >=dev-lang/nqp-${PV}[java?,moar?]"
+RDEPEND="parrot? ( >=dev-lang/parrot-${PARROT_VERSION}:=[unicode] )
+ >=dev-lang/nqp-${PV}[parrot?,java?,moar?]"
DEPEND="${RDEPEND}
dev-lang/perl"
@@ -27,9 +27,13 @@ src_prepare() {
}
src_configure() {
+ use parrot && myconf+="parrot,"
use java && myconf+="jvm,"
use moar && myconf+="moar,"
perl Configure.pl --backends=${myconf} --prefix=/usr || die
+
+ # why doesn't ops2c get detected?! :(
+ use parrot && sed -i -e 's~OPS2C = $(PARROT_BIN_DIR)/$(EXE)~OPS2C = $(PARROT_BIN_DIR)/ops2c~' Makefile || die
}
src_test() {