diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-22 20:44:09 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-23 20:56:01 +0200 |
commit | a8b326ad960feba369cfa19c876d1d02852b253c (patch) | |
tree | 59357d388db39c7d0a87487d3f611d141a446c05 /dev-lang/rakudo | |
parent | dev-lang/pcc: Drop unmaintained 9999 ebuild (diff) | |
download | gentoo-a8b326ad960feba369cfa19c876d1d02852b253c.tar.gz gentoo-a8b326ad960feba369cfa19c876d1d02852b253c.tar.bz2 gentoo-a8b326ad960feba369cfa19c876d1d02852b253c.zip |
dev-lang/rakudo: Drop unmaintained and broken 9999 ebuild
Closes: https://bugs.gentoo.org/786141
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-lang/rakudo')
-rw-r--r-- | dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch | 21 | ||||
-rw-r--r-- | dev-lang/rakudo/rakudo-9999.ebuild | 79 |
2 files changed, 0 insertions, 100 deletions
diff --git a/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch b/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch deleted file mode 100644 index 3f4532f0d154..000000000000 --- a/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch +++ /dev/null @@ -1,21 +0,0 @@ -Upstream uses -Xbootclasspath, which prevents us from using -LD_LIBRARY_PATH, thefore we need to set jna.boot.library.path. -See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4285197. - -Chewi -2016/05/15 - -diff -Naur rakudo-2016.04.orig/tools/build/create-jvm-runner.pl rakudo-2016.04/tools/build/create-jvm-runner.pl ---- rakudo-2016.04.orig/tools/build/create-jvm-runner.pl 2015-12-25 19:23:19.000000000 +0000 -+++ rakudo-2016.04/tools/build/create-jvm-runner.pl 2016-05-15 11:30:37.488085661 +0100 -@@ -60,7 +60,10 @@ - } - - my $classpath = join($cpsep, ($jardir, $libdir, $nqplibdir)); -+my $jna_lib = `java-config --query LIBRARY_PATH --package jna-4`; -+chomp $jna_lib; - my $jopts = '-noverify -Xms100m -Xbootclasspath/a:' . $perl6jars -+ . ' -Djna.boot.library.path=' . $jna_lib - . ' -cp ' . ($^O eq 'MSWin32' ? '"%CLASSPATH%";' : '$CLASSPATH:') . $classpath - . ' -Dperl6.prefix=' . $prefix - . ' -Djna.library.path=' . $sharedir diff --git a/dev-lang/rakudo/rakudo-9999.ebuild b/dev-lang/rakudo/rakudo-9999.ebuild deleted file mode 100644 index 1c3e4d291cbc..000000000000 --- a/dev-lang/rakudo/rakudo-9999.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit java-pkg-opt-2 - -DESCRIPTION="A compiler for the Perl 6 programming language" -HOMEPAGE="https://rakudo.org" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git" - inherit git-r3 -else - SRC_URI="https://rakudo.org/downloads/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Artistic-2" -SLOT="0" -# TODO: add USE="javascript" once that's usable in nqp -IUSE="clang java +moar test" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( java moar )" - -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]" -RDEPEND="${CDEPEND} - java? ( >=virtual/jre-1.7 )" -DEPEND="${CDEPEND} - clang? ( sys-devel/clang ) - java? ( >=virtual/jdk-1.7 ) - >=dev-lang/perl-5.10" - -PATCHES=( "${FILESDIR}/${PN}-2016.04-jna-lib.patch" ) - -pkg_pretend() { - if has_version dev-lang/rakudo; then - ewarn "Rakudo is known to fail compilation/installation with Rakudo" - ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo," - ewarn "then do a new installation." - ewarn "(see Bug #584394)" - fi -} - -src_prepare() { - epatch "${PATCHES[@]}" - epatch_user -} - -src_configure() { - local backends - use moar && backends+="moar," - use java && backends+="jvm" - - local myargs=( - "--prefix=/usr" - "--sysroot=/" - "--sdkroot=/" - "--backends=${backends}" - ) - - perl Configure.pl "${myargs[@]}" || die - - if use java; then - NQP=$(java-pkg_getjars --with-dependencies nqp) - fi -} - -src_compile() { - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" -} - -src_install() { - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install -} - -src_test() { - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default -} |