diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-01 14:58:14 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-01 14:58:14 +0700 |
commit | 4efaf30a809f703d4659e4cdf6e752a3e5fdc5b1 (patch) | |
tree | d86778831c8865c664461df8e8ee258e26a28c10 /dev-lang/luajit/luajit-2.0.9999.ebuild | |
parent | luajit: fix min_clone_type (diff) | |
download | lua-4efaf30a809f703d4659e4cdf6e752a3e5fdc5b1.tar.gz lua-4efaf30a809f703d4659e4cdf6e752a3e5fdc5b1.tar.bz2 lua-4efaf30a809f703d4659e4cdf6e752a3e5fdc5b1.zip |
luajit: working on eprefix support
Diffstat (limited to 'dev-lang/luajit/luajit-2.0.9999.ebuild')
-rw-r--r-- | dev-lang/luajit/luajit-2.0.9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-lang/luajit/luajit-2.0.9999.ebuild b/dev-lang/luajit/luajit-2.0.9999.ebuild index 9920ab5..cb14064 100644 --- a/dev-lang/luajit/luajit-2.0.9999.ebuild +++ b/dev-lang/luajit/luajit-2.0.9999.ebuild @@ -70,7 +70,7 @@ src_prepare() { -e 's|^(VERSION)=.*|\1=${PV}|' \ -e 's|\$\(MAJVER\)\.\$\(MINVER\)\.\$\(RELVER\)|$(VERSION)|' \ -e 's|^(INSTALL_PCNAME)=.*|\1=${P}.pc|' \ - -e 's|( PREFIX)=.*|\1=/usr|' \ + -e 's|( PREFIX)=.*|\1=${EPREFIX}/usr|' \ -e 's|^(FILE_MAN)=.*|\1=${P}.1|' \ -i Makefile || die "failed to fix prefix in Makefile" @@ -98,7 +98,7 @@ src_prepare() { multilib_src_configure() { sed -r \ - -e "s|^(prefix)=.*|\1=/usr|" \ + -e "s|^(prefix)=.*|\1=${EPREFIX}/usr|" \ -e "s|^(multilib)=.*|\1=$(get_libdir)|" \ -i "etc/${PN}.pc" || die "Failed to slottify" } @@ -125,7 +125,7 @@ multilib_src_compile() { } multilib_src_install() { - emake DESTDIR="${D}" MULTILIB="$(get_libdir)" install + emake DESTDIR="${ED}" MULTILIB="$(get_libdir)" install einstalldocs |