]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blob - patches/patch-ghc.mk
7.6.2 for powerpc-apple-darwin
[pkgsrc-ghc.git] / patches / patch-ghc.mk
1 $NetBSD$
2
3 We want bootstrapping bindists to be as small as possible, and bzip2
4 is not enough:
5
6   % du -sh ghc-*.tar*
7   291M    ghc-7.6.2-boot-powerpc-apple-darwin.tar
8    60M    ghc-7.6.2-boot-powerpc-apple-darwin.tar.bz2
9    32M    ghc-7.6.2-boot-powerpc-apple-darwin.tar.xz
10
11
12 --- ghc.mk.orig 2013-02-14 02:24:35.000000000 +0000
13 +++ ghc.mk
14 @@ -1009,7 +1009,8 @@ unix-binary-dist-prep:
15         $(call removeFiles,$(BIN_DIST_PREP_TAR))
16  # h means "follow symlinks", e.g. if aclocal.m4 is a symlink to a source
17  # tree then we want to include the real file, not a symlink to it
18 -       cd bindistprep && "$(TAR_CMD)" hcf - -T ../$(BIN_DIST_LIST) | bzip2 -c > ../$(BIN_DIST_PREP_TAR_BZ2)
19 +       "$(MKDIRHIER)" compiler/stage2/doc # Workaround needed when building no docs.
20 +       cd bindistprep && "$(TAR_CMD)" hcf ../$(BIN_DIST_PREP_TAR) -T ../$(BIN_DIST_LIST)
21  
22  windows-binary-dist-prep:
23         $(call removeTrees,bindistprep/)