summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-21 21:52:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-21 21:52:07 +0200
commit8da9efaa2894d02a7ff9b5d9707c711d909e904d (patch)
tree19cfb0ee5aee517887d07ecf3a76670e242813b6 /mk
parent4404645c4b980a135411b7e4b13546b15a48d49e (diff)
allow to build with MacOS X Yosemite and Homebrew.
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 0e699a9b9..1d36b633e 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -273,9 +273,9 @@ PKG_INSTALL:= PATH='${HOST_PATH}' \
-force-defaults -force-depends install
PKG_STATE_DIR:= $(TARGET_DIR)/usr/lib/ipkg
else
-PKG_BUILD:= ${BASH} ${SCRIPT_DIR}/tarpkg build
-PKG_INSTALL:= PKG_INSTROOT=$(TARGET_DIR) \
- ${BASH} ${SCRIPT_DIR}/tarpkg install
+PKG_BUILD:= PATH='${HOST_PATH}' ${BASH} ${SCRIPT_DIR}/tarpkg build
+PKG_INSTALL:= PKG_INSTROOT='$(TARGET_DIR)' \
+ PATH='${HOST_PATH}' ${BASH} ${SCRIPT_DIR}/tarpkg install
PKG_STATE_DIR:= $(TARGET_DIR)/usr/lib/pkg
endif