Skip to content

Commit

Permalink
dev-lang/moarvm: Use EPREFIX instead of EROOT
Browse files Browse the repository at this point in the history
Now I better understand what variables to use in which conditions,
I now see that this working at all was somewhat a miracle, given
ROOT is defined to not exist in src_configure, and EROOT is ...
"${ROOT}/${EPREFIX}"

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <[email protected]>
  • Loading branch information
kentfredric committed Aug 7, 2019
1 parent 1606128 commit 822a51d
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2018.06-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RESTRICT=test

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2018.08-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RESTRICT=test

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2018.09-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RESTRICT=test

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2018.12-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RESTRICT=test

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2019.03-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RESTRICT=test

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2019.07-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ PATCHES="${FILESDIR}/fix-quoting.patch"

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT%/}/usr"
local libdir="${EROOT%/}/usr/$(get_libdir)"
local prefix="${EPREFIX%/}/usr"
local libdir="${EPREFIX%/}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-2019.07.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ src_prepare() {

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT}/usr"
local libdir="${EROOT}/usr/$(get_libdir)"
local prefix="${EPREFIX}/usr"
local libdir="${EPREFIX}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down
4 changes: 2 additions & 2 deletions dev-lang/moarvm/moarvm-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ src_prepare() {

src_configure() {
use doc && DOCS+=( docs/* )
local prefix="${EROOT}/usr"
local libdir="${EROOT}/usr/$(get_libdir)"
local prefix="${EPREFIX}/usr"
local libdir="${EPREFIX}/usr/$(get_libdir)"
einfo "--prefix '${prefix}'"
einfo "--libdir '${libdir}'"
local myconfigargs=(
Expand Down

0 comments on commit 822a51d

Please sign in to comment.