summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild')
-rw-r--r--dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild
index db73e088c944..f8e40f03140f 100644
--- a/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild
+++ b/dev-lua/lua-openssl/lua-openssl-0.7.8_p0-r100.ebuild
@@ -63,6 +63,7 @@ lua_src_compile() {
"LUA_CFLAGS=${CFLAGS} $(lua_get_CFLAGS)"
"LUA_LIBS=${LDFLAGS}"
"LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
+ "TARGET_SYS=${CTARGET:-${CHOST}}"
)
emake "${myemakeargs[@]}"
@@ -79,6 +80,8 @@ lua_src_test() {
local myemakeargs=(
"LUA=${ELUA}"
+ "LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
+ "TARGET_SYS=${CTARGET:-${CHOST}}"
)
emake "${myemakeargs[@]}" test
@@ -95,6 +98,8 @@ lua_src_install() {
local myemakeargs=(
"LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)"
+ "LUA_VERSION=$(ver_cut 1-2 $(lua_get_version))"
+ "TARGET_SYS=${CTARGET:-${CHOST}}"
)
emake "${myemakeargs[@]}" install