@@ -3,7 +3,11 @@
# material, please see the LICENCE file in the top-level directory.
if [ -z "$(which gtar 2>/dev/null)" ];then
- /bin/tar "$@"
+ if [ -x /bin/tar ];then
+ /bin/tar "$@"
+ else
+ /usr/bin/tar "$@"
+ fi
else
gtar "$@"
fi
@@ -12,7 +12,9 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
+ifneq ($(OStype),Darwin)
(cd $(WRKBUILD); cp configfsf.guess config.guess)
+endif
(cd $(WRKBUILD); \
./configure \
--prefix=$(STAGING_HOST_DIR) \