|
@@ -49,7 +49,7 @@ $(2)_DEPENDENCIES += host-luarocks luainterpreter
|
|
|
ifndef $(2)_EXTRACT_CMDS
|
|
|
define $(2)_EXTRACT_CMDS
|
|
|
cd $$($(2)_DIR)/.. && \
|
|
|
- $$(LUAROCKS_RUN) unpack --force $$(DL_DIR)/$$($(2)_SOURCE)
|
|
|
+ $$(LUAROCKS_RUN_ENV) $$(LUAROCKS_RUN_CMD) unpack --force $$(DL_DIR)/$$($(2)_SOURCE)
|
|
|
endef
|
|
|
endif
|
|
|
|
|
@@ -58,8 +58,8 @@ endif
|
|
|
#
|
|
|
ifndef $(2)_INSTALL_TARGET_CMDS
|
|
|
define $(2)_INSTALL_TARGET_CMDS
|
|
|
- cd $$($(2)_SRCDIR) && \
|
|
|
- $$(LUAROCKS_RUN) make --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPTS)
|
|
|
+ cd $$($(2)_SRCDIR) && $$(LUAROCKS_RUN_ENV) flock $$(TARGET_DIR) \
|
|
|
+ $$(LUAROCKS_RUN_CMD) make --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPTS)
|
|
|
endef
|
|
|
endif
|
|
|
|