summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild (renamed from dev-lua/lua-openssl/lua-openssl-0.7.7_p0.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.7_p0.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild
index 4f939f080f5a..2f9abd5424dd 100644
--- a/dev-lua/lua-openssl/lua-openssl-0.7.7_p0.ebuild
+++ b/dev-lua/lua-openssl/lua-openssl-0.7.7_p0-r1.ebuild
@@ -46,6 +46,7 @@ src_configure() {
LUA_VERSION="$(${PKG_CONFIG} --variable=$(usex luajit abiver V) $(usex luajit luajit lua))"
LUA_CFLAGS="$(${PKG_CONFIG} $(usex luajit luajit lua) --cflags) ${CFLAGS}"
LUA_LIBS="$(${PKG_CONFIG} $(usex luajit luajit lua) --libs) ${LDFLAGS}"
+ INSTALL_CMOD="$(${PKG_CONFIG} $(usex luajit luajit lua) --variable=INSTALL_CMOD)"
INSTALL_LMOD="$(${PKG_CONFIG} $(usex luajit luajit lua) --variable=INSTALL_LMOD)"
export LUA_VERSION LUA_CFLAGS LUA_LIBS
@@ -60,7 +61,7 @@ src_test() {
}
src_install() {
- emake PREFIX="${ED}/usr" install
+ emake PREFIX="${ED}/usr" LUA_LIBDIR="${ED}/${INSTALL_CMOD}" install
# install lua code as well
insinto "${INSTALL_LMOD}"