summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-02-14 22:05:56 +0000
committerIan Lynagh <igloo@earth.li>2010-02-14 22:05:56 +0000
commitd7e56c1295bb07fb2b30323e25c2fccfa1886ccd (patch)
tree5188ae207993f650cd57bf664ca3a77d1f8d5fb7
parent2eaf7225a3dc2493f242ef2cc44ec0120234e73f (diff)
downloadhaskell-d7e56c1295bb07fb2b30323e25c2fccfa1886ccd.tar.gz
Don't rely on tar supporting -j; trac #3841
-rw-r--r--libraries/integer-gmp/gmp/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk
index 91e7b968bf..5424dc9148 100644
--- a/libraries/integer-gmp/gmp/ghc.mk
+++ b/libraries/integer-gmp/gmp/ghc.mk
@@ -109,7 +109,7 @@ GMP_DIR := $(patsubst libraries/integer-gmp/gmp/tarball/%-nodoc-patched.tar.bz2,
libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
$(RM) -rf $(GMP_DIR) libraries/integer-gmp/gmp/gmpbuild libraries/integer-gmp/gmp/objs
- cd libraries/integer-gmp/gmp && $(TAR) -jxf ../../../$(GMP_TARBALL)
+ cat $(GMP_TARBALL) | $(BZIP2) -d { cd libraries/integer-gmp/gmp && $(TAR) -xf - ; }
mv libraries/integer-gmp/gmp/$(GMP_DIR) libraries/integer-gmp/gmp/gmpbuild
chmod +x libraries/integer-gmp/gmp/ln
cd libraries/integer-gmp/gmp; (set -o igncr 2>/dev/null) && set -o igncr; export SHELLOPTS; \