summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2019-08-06 17:22:48 +1200
committerKent Fredric <kentnl@gentoo.org>2019-08-06 17:29:34 +1200
commitaf79c1ba88221c2e88a0881ac162a0e0599611e2 (patch)
treef08ab2d46b39c9dcb5300460d6d3492c5d6a46be /dev-lang/moarvm
parentgames-arcade/gnome-nibbles: bump to 3.32.0, drop unnecessary vala deps (diff)
downloadgentoo-af79c1ba88221c2e88a0881ac162a0e0599611e2.tar.gz
gentoo-af79c1ba88221c2e88a0881ac162a0e0599611e2.tar.bz2
gentoo-af79c1ba88221c2e88a0881ac162a0e0599611e2.zip
dev-lang/moarvm: Fix installation to /lib re bug #639538
This fixes the installation of libmoar.so to use /usr/lib64 etc instead of /lib64 This additionally fixes the issue where the installation to /lib64 under EAPI7, for some reason, results in no installation of the .so, as mentioned in bug #504720 Closes: https://bugs.gentoo.org/639538 Bug: https://bugs.gentoo.org/504720 Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-lang/moarvm')
-rw-r--r--dev-lang/moarvm/moarvm-2018.06-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2018.12.ebuild)8
-rw-r--r--dev-lang/moarvm/moarvm-2018.06.ebuild57
-rw-r--r--dev-lang/moarvm/moarvm-2018.08-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2018.08.ebuild)10
-rw-r--r--dev-lang/moarvm/moarvm-2018.09-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2018.09.ebuild)10
-rw-r--r--dev-lang/moarvm/moarvm-2018.12-r1.ebuild61
-rw-r--r--dev-lang/moarvm/moarvm-2019.03-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2019.03.ebuild)8
-rw-r--r--dev-lang/moarvm/moarvm-2019.07-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2019.07.ebuild)8
-rw-r--r--dev-lang/moarvm/moarvm-2019.07.1-r1.ebuild (renamed from dev-lang/moarvm/moarvm-2019.07.1.ebuild)8
-rw-r--r--dev-lang/moarvm/moarvm-9999.ebuild8
9 files changed, 105 insertions, 73 deletions
diff --git a/dev-lang/moarvm/moarvm-2018.12.ebuild b/dev-lang/moarvm/moarvm-2018.06-r1.ebuild
index de8b1e480a4b..a6b22e70714c 100644
--- a/dev-lang/moarvm/moarvm-2018.12.ebuild
+++ b/dev-lang/moarvm/moarvm-2018.06-r1.ebuild
@@ -38,12 +38,16 @@ RESTRICT=test
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix=/usr"
+ "--prefix=${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir=$(get_libdir)"
+ "--libdir=${libdir}"
"--compiler=$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-2018.06.ebuild b/dev-lang/moarvm/moarvm-2018.06.ebuild
deleted file mode 100644
index 1e5dbdd984e3..000000000000
--- a/dev-lang/moarvm/moarvm-2018.06.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-MY_PN="MoarVM"
-if [[ ${PV} == "9999" ]]; then
- EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
- inherit git-r3
- KEYWORDS=""
- S="${WORKDIR}/${P}"
-else
- SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${MY_PN}-${PV}"
-fi
-
-DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
-HOMEPAGE="http://moarvm.org"
-LICENSE="Artistic-2"
-SLOT="0"
-IUSE="asan clang debug doc +jit static-libs optimize ubsan"
-
-RDEPEND="dev-libs/libatomic_ops
- dev-libs/libuv
- dev-lang/lua:=
- virtual/libffi"
-DEPEND="${RDEPEND}
- clang? ( >=sys-devel/clang-3.1 )
- dev-lang/perl"
-
-DOCS=( CREDITS README.markdown )
-
-# Tests are conducted via nqp
-RESTRICT=test
-
-src_configure() {
- use doc && DOCS+=( docs/* )
- local myconfigargs=(
- "--prefix=/usr"
- "--has-libuv"
- "--has-libatomic_ops"
- "--has-libffi"
- "--libdir=$(get_libdir)"
- "--compiler=$(usex clang clang gcc)"
- "$(usex asan --asan)"
- "$(usex debug --debug --no-debug)"
- "$(usex optimize --optimize= --no-optimize)"
- "$(usex static-libs --static)"
- "$(usex ubsan --ubsan)"
- )
- use optimize && filter-flags '-O*'
-
- perl Configure.pl "${myconfigargs[@]}" || die
-}
diff --git a/dev-lang/moarvm/moarvm-2018.08.ebuild b/dev-lang/moarvm/moarvm-2018.08-r1.ebuild
index 1e5dbdd984e3..a6b22e70714c 100644
--- a/dev-lang/moarvm/moarvm-2018.08.ebuild
+++ b/dev-lang/moarvm/moarvm-2018.08-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,12 +38,16 @@ RESTRICT=test
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix=/usr"
+ "--prefix=${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir=$(get_libdir)"
+ "--libdir=${libdir}"
"--compiler=$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-2018.09.ebuild b/dev-lang/moarvm/moarvm-2018.09-r1.ebuild
index 55ae9205a866..a6b22e70714c 100644
--- a/dev-lang/moarvm/moarvm-2018.09.ebuild
+++ b/dev-lang/moarvm/moarvm-2018.09-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,12 +38,16 @@ RESTRICT=test
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix=/usr"
+ "--prefix=${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir=$(get_libdir)"
+ "--libdir=${libdir}"
"--compiler=$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-2018.12-r1.ebuild b/dev-lang/moarvm/moarvm-2018.12-r1.ebuild
new file mode 100644
index 000000000000..a6b22e70714c
--- /dev/null
+++ b/dev-lang/moarvm/moarvm-2018.12-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+MY_PN="MoarVM"
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
+ inherit git-r3
+ KEYWORDS=""
+ S="${WORKDIR}/${P}"
+else
+ SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
+HOMEPAGE="http://moarvm.org"
+LICENSE="Artistic-2"
+SLOT="0"
+IUSE="asan clang debug doc +jit static-libs optimize ubsan"
+
+RDEPEND="dev-libs/libatomic_ops
+ dev-libs/libuv
+ dev-lang/lua:=
+ virtual/libffi"
+DEPEND="${RDEPEND}
+ clang? ( >=sys-devel/clang-3.1 )
+ dev-lang/perl"
+
+DOCS=( CREDITS README.markdown )
+
+# Tests are conducted via nqp
+RESTRICT=test
+
+src_configure() {
+ use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
+ local myconfigargs=(
+ "--prefix=${prefix}"
+ "--has-libuv"
+ "--has-libatomic_ops"
+ "--has-libffi"
+ "--libdir=${libdir}"
+ "--compiler=$(usex clang clang gcc)"
+ "$(usex asan --asan)"
+ "$(usex debug --debug --no-debug)"
+ "$(usex optimize --optimize= --no-optimize)"
+ "$(usex static-libs --static)"
+ "$(usex ubsan --ubsan)"
+ )
+ use optimize && filter-flags '-O*'
+
+ perl Configure.pl "${myconfigargs[@]}" || die
+}
diff --git a/dev-lang/moarvm/moarvm-2019.03.ebuild b/dev-lang/moarvm/moarvm-2019.03-r1.ebuild
index 6acaeabca78a..eb788374664f 100644
--- a/dev-lang/moarvm/moarvm-2019.03.ebuild
+++ b/dev-lang/moarvm/moarvm-2019.03-r1.ebuild
@@ -38,12 +38,16 @@ RESTRICT=test
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix=/usr"
+ "--prefix=${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir=$(get_libdir)"
+ "--libdir=${libdir}"
"--compiler=$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-2019.07.ebuild b/dev-lang/moarvm/moarvm-2019.07-r1.ebuild
index 316046a745eb..bc5d5b1fa0ad 100644
--- a/dev-lang/moarvm/moarvm-2019.07.ebuild
+++ b/dev-lang/moarvm/moarvm-2019.07-r1.ebuild
@@ -43,12 +43,16 @@ PATCHES="${FILESDIR}/fix-quoting.patch"
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT%/}/usr"
+ local libdir="${EROOT%/}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix" "/usr"
+ "--prefix" "${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir" "$(get_libdir)"
+ "--libdir" "${libdir}"
"--compiler" "$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-2019.07.1.ebuild b/dev-lang/moarvm/moarvm-2019.07.1-r1.ebuild
index 575bf0228076..2183e45ce3df 100644
--- a/dev-lang/moarvm/moarvm-2019.07.1.ebuild
+++ b/dev-lang/moarvm/moarvm-2019.07.1-r1.ebuild
@@ -49,12 +49,16 @@ src_prepare() {
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT}/usr"
+ local libdir="${EROOT}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix" "/usr"
+ "--prefix" "${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir" "$(get_libdir)"
+ "--libdir" "${libdir}"
"--compiler" "$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"
diff --git a/dev-lang/moarvm/moarvm-9999.ebuild b/dev-lang/moarvm/moarvm-9999.ebuild
index 575bf0228076..2183e45ce3df 100644
--- a/dev-lang/moarvm/moarvm-9999.ebuild
+++ b/dev-lang/moarvm/moarvm-9999.ebuild
@@ -49,12 +49,16 @@ src_prepare() {
src_configure() {
use doc && DOCS+=( docs/* )
+ local prefix="${EROOT}/usr"
+ local libdir="${EROOT}/usr/$(get_libdir)"
+ einfo "--prefix '${prefix}'"
+ einfo "--libdir '${libdir}'"
local myconfigargs=(
- "--prefix" "/usr"
+ "--prefix" "${prefix}"
"--has-libuv"
"--has-libatomic_ops"
"--has-libffi"
- "--libdir" "$(get_libdir)"
+ "--libdir" "${libdir}"
"--compiler" "$(usex clang clang gcc)"
"$(usex asan --asan)"
"$(usex debug --debug --no-debug)"