Skip to content

Commit

Permalink
dev-lua/lua-openssl-0.7.7_p0-r1: revbump, fix libdir
Browse files Browse the repository at this point in the history
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <[email protected]>
  • Loading branch information
patrick-mclean authored and chutz committed Dec 6, 2019
1 parent 588fe99 commit a698247
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit a698247

Please sign in to comment.