diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2019-07-14 18:48:54 +0300 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2019-07-14 18:48:54 +0300 |
commit | 7b70877480d02c10f382aa43cdcaac875748b6c4 (patch) | |
tree | c03b5470a4b50c1048a60aae014d254827238259 | |
parent | app-editors/vis: Import from lanodanOverlay (diff) | |
download | lua-7b70877480d02c10f382aa43cdcaac875748b6c4.tar.gz lua-7b70877480d02c10f382aa43cdcaac875748b6c4.tar.bz2 lua-7b70877480d02c10f382aa43cdcaac875748b6c4.zip |
luajit: fir EROOT
Signed-off-by: Vadim A. Misbakh-Soloviov <git@mva.name>
-rw-r--r-- | dev-lang/luajit/luajit-2.1.9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/luajit/luajit-2.1.9999.ebuild b/dev-lang/luajit/luajit-2.1.9999.ebuild index d17a29e..29cade4 100644 --- a/dev-lang/luajit/luajit-2.1.9999.ebuild +++ b/dev-lang/luajit/luajit-2.1.9999.ebuild @@ -59,7 +59,7 @@ src_prepare() { -e 's|^(VERSION)=.*|\1=${PV}|' \ -e 's|^(INSTALL_SONAME)=.*|\1=$(INSTALL_SOSHORT1).$(VERSION)|' \ -e 's|^(INSTALL_PCNAME)=.*|\1=${P}.pc|' \ - -e 's|( PREFIX)=.*|\1=${EROOT}usr|' \ + -e 's|( PREFIX)=.*|\1='${EROOT:-/}'usr|' \ -e 's|^(FILE_MAN)=.*|\1=${P}.1|' \ -i Makefile || die "failed to fix prefix in Makefile" @@ -79,7 +79,7 @@ src_prepare() { multilib_src_configure() { sed -r \ - -e "s|^(prefix)=.*|\1=${EROOT}usr|" \ + -e "s|^(prefix)=.*|\1=${EROOT:-/}usr|" \ -e "s|^(multilib)=.*|\1=$(get_libdir)|" \ -i "etc/${PN}.pc" || die "Failed to slottify" } |