Commit a0c8fa41 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't rely on tar supporting -z; trac #3841

parent ca10c79f
......@@ -113,7 +113,7 @@ endif
ifneq "$(BINDIST)" "YES"
$(libffi_STAMP_CONFIGURE):
"$(RM)" $(RM_OPTS) -r $(LIBFFI_DIR) libffi/build
cd libffi && $(TAR) -zxf ../ghc-tarballs/libffi/libffi*.tar.gz
cat ghc-tarballs/libffi/libffi*.tar.gz | $(GZIP) -d | { cd libffi && $(TAR) -xf - ; }
mv libffi/libffi-* libffi/build
chmod +x libffi/ln
cd libffi/build && "$(PATCH)" -p1 < ../libffi.dllize-3.0.8.patch
......
......@@ -652,6 +652,8 @@ SIZE = size
STRIP = strip
PATCH = @PatchCmd@
TAR = @TarCmd@
BZIP2 = bzip2
GZIP = gzip
ZIP = zip
HSCOLOUR = @HSCOLOUR@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment