mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-lua/luarocks: patch LUA_LIBDIR check (non slotted)
If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, as no compiled modules are installed on a new, fresh installation, so this check must be disabled, otherwise 'configure' will fail. Closes: https://bugs.gentoo.org/757855 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -37,6 +37,15 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists,
|
||||
# as no compiled modules are installed on a new, fresh installation,
|
||||
# so this check must be disabled, otherwise 'configure' will fail.
|
||||
sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
"--prefix=${EPREFIX}/usr"
|
||||
|
||||
Reference in New Issue
Block a user