summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2020-12-01 16:57:30 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2020-12-01 16:57:30 +0000
commitd73aef5c3ce87eefefa21c67596ebe0e81c7beaa (patch)
tree60bd9e8ae8b8a9c8f201e8ab1ce4e0b1191e861e /dev-lua
parentef91d1e6cc9d1b6c86a8c0d8d9543c96ccc648a3 (diff)
downloadbaldeagleos-repo-d73aef5c3ce87eefefa21c67596ebe0e81c7beaa.tar.gz
baldeagleos-repo-d73aef5c3ce87eefefa21c67596ebe0e81c7beaa.tar.xz
baldeagleos-repo-d73aef5c3ce87eefefa21c67596ebe0e81c7beaa.zip
Updating liguros repo
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/luarocks-3.4.0.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-lua/luarocks/luarocks-3.4.0.ebuild b/dev-lua/luarocks/luarocks-3.4.0.ebuild
index 1740df35645a..52063734ca52 100644
--- a/dev-lua/luarocks/luarocks-3.4.0.ebuild
+++ b/dev-lua/luarocks/luarocks-3.4.0.ebuild
@@ -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"