From fb12cc0a7bb293e31e7064f5a64d6cbe0c5447dc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Oct 2011 11:41:42 +0200 Subject: Darwin fixes --- scripts/tar | 6 +++++- toolchain/gmp/Makefile | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/tar b/scripts/tar index 60c5057da..b696d5b92 100755 --- a/scripts/tar +++ b/scripts/tar @@ -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 diff --git a/toolchain/gmp/Makefile b/toolchain/gmp/Makefile index 202709540..fb9e7425e 100644 --- a/toolchain/gmp/Makefile +++ b/toolchain/gmp/Makefile @@ -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) \ -- cgit v1.2.3