summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-24 15:45:39 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-24 15:49:16 +0200
commitacac3c3891c67956dabf7f8302493aafc48a08d7 (patch)
treee4d0dd4f204775054d29bf445e87295c270bd06b /www-client/luakit
parentdev-python/PyGithub: Remove old (diff)
downloadgentoo-acac3c3891c67956dabf7f8302493aafc48a08d7.tar.gz
gentoo-acac3c3891c67956dabf7f8302493aafc48a08d7.tar.bz2
gentoo-acac3c3891c67956dabf7f8302493aafc48a08d7.zip
www-client/luakit: Export LUA_BIN_NAME and LUA_PKG_NAME
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Bug: https://bugs.gentoo.org/744505 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/luakit')
-rw-r--r--www-client/luakit/luakit-2.2.1.ebuild10
-rw-r--r--www-client/luakit/luakit-9999.ebuild10
2 files changed, 8 insertions, 12 deletions
diff --git a/www-client/luakit/luakit-2.2.1.ebuild b/www-client/luakit/luakit-2.2.1.ebuild
index a6eb394117a8..efeb361d7b9d 100644
--- a/www-client/luakit/luakit-2.2.1.ebuild
+++ b/www-client/luakit/luakit-2.2.1.ebuild
@@ -47,13 +47,13 @@ PATCHES=(
)
src_configure() {
+ export LUA_BIN_NAME=$(usex luajit luajit lua)
+ export LUA_PKG_NAME=$(usex luajit luajit lua)
tc-export CC PKG_CONFIG
}
src_compile() {
emake \
- LUA_PKG_NAME=$(usex luajit luajit lua) \
- LUA_BIN_NAME=$(usex luajit luajit lua) \
PREFIX="${EPREFIX}/usr" \
${PN}
@@ -66,16 +66,14 @@ src_test() {
mv tests/async/${failing_test}.lua{,.disabled} || die
done
- emake \
- LUA_BIN_NAME=$(usex luajit luajit lua) \
- run-tests
+ emake run-tests
}
src_install() {
emake \
DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ PREFIX="${EPREFIX}/usr" \
XDGPREFIX="${EPREFIX}/etc/xdg" \
install
diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild
index a1c4b6f80bf8..e249169925ec 100644
--- a/www-client/luakit/luakit-9999.ebuild
+++ b/www-client/luakit/luakit-9999.ebuild
@@ -46,13 +46,13 @@ PATCHES=(
)
src_configure() {
+ export LUA_BIN_NAME=$(usex luajit luajit lua)
+ export LUA_PKG_NAME=$(usex luajit luajit lua)
tc-export CC PKG_CONFIG
}
src_compile() {
emake \
- LUA_PKG_NAME=$(usex luajit luajit lua) \
- LUA_BIN_NAME=$(usex luajit luajit lua) \
PREFIX="${EPREFIX}/usr" \
${PN}
@@ -65,16 +65,14 @@ src_test() {
mv tests/async/${failing_test}.lua{,.disabled} || die
done
- emake \
- LUA_BIN_NAME=$(usex luajit luajit lua) \
- run-tests
+ emake run-tests
}
src_install() {
emake \
DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ PREFIX="${EPREFIX}/usr" \
XDGPREFIX="${EPREFIX}/etc/xdg" \
install