summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2018-09-23 13:40:40 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2018-09-23 13:40:40 +0700
commita0d4e9e8d4f68cb0f8ff11afc2f8165ba126c1f7 (patch)
treee11685adc56447ab28fe6baba44e3c3d5b6a68a7
parenttdlua: added (diff)
downloadlua-a0d4e9e8d4f68cb0f8ff11afc2f8165ba126c1f7.tar.gz
lua-a0d4e9e8d4f68cb0f8ff11afc2f8165ba126c1f7.tar.bz2
lua-a0d4e9e8d4f68cb0f8ff11afc2f8165ba126c1f7.zip
lua.eclass: prepare() mod
-rw-r--r--eclass/lua.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/lua.eclass b/eclass/lua.eclass
index 01f74de..d64f5f4 100644
--- a/eclass/lua.eclass
+++ b/eclass/lua.eclass
@@ -917,7 +917,8 @@ _lua_default_all_prepare() {
"${@}"
)
- patches_src_prepare
+ [[ -z "${__PATCHES_PREPARE_CALLED}" ]] && patches_src_prepare
+ export __PATCHES_PREPARE_CALLED=1
[[ -x "${BOOTSTRAP}" ]] && ${BOOTSTRAP} "${prepargs[@]}"