Browse Source

Darwin fixes

Waldemar Brodkorb 12 years ago
parent
commit
fb12cc0a7b
2 changed files with 7 additions and 1 deletions
  1. 5 1
      scripts/tar
  2. 2 0
      toolchain/gmp/Makefile

+ 5 - 1
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

+ 2 - 0
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) \