projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878f269
)
x11-wm/awesome: Fix luajit library path
author
David Truby
<david.truby@gmail.com>
Tue, 16 Jan 2018 18:08:00 +0000
(18:08 +0000)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 14 Mar 2018 10:35:48 +0000
(11:35 +0100)
Closes: https://github.com/gentoo/gentoo/pull/6882
x11-wm/awesome/awesome-4.2.ebuild
patch
|
blob
|
history
diff --git
a/x11-wm/awesome/awesome-4.2.ebuild
b/x11-wm/awesome/awesome-4.2.ebuild
index 170a680ce24f2c4fe7fce52f83a6ce115d904dc6..a579c0907b8d3dae38dd5786b43304ed5f148097 100644
(file)
--- a/
x11-wm/awesome/awesome-4.2.ebuild
+++ b/
x11-wm/awesome/awesome-4.2.ebuild
@@
-61,8
+61,8
@@
src_configure() {
-DWITH_GENERATE_DOC=$(usex doc $(usex doc) n)
)
if use luajit; then
- mycmakeargs+=(
'-DLUA_INCLUDE_DIR=/usr/include/luajit-2.0'
)
- mycmakeargs+=(
'-DLUA_LIBRARY=/usr/lib/libluajit-5.1.so'
)
+ mycmakeargs+=(
"-DLUA_INCLUDE_DIR=${EPREFIX}/usr/include/luajit-2.0"
)
+ mycmakeargs+=(
"-DLUA_LIBRARY=${EPREFIX}/usr/$(get_libdir)/libluajit-5.1.so"
)
fi
cmake-utils_src_configure
}