Ticket #52551: ghc-and-deps-to-8.diff

File ghc-and-deps-to-8.diff, 61.6 KB (added by neverpanic (Clemens Lang), 8 years ago)

WIP state of updating haskell-platform

  • _resources/port1.0/group/haskell-1.0.tcl

     
    5353# updates.
    5454array set haskell.compiler_configuration {
    5555    ghc {port       ghc
    56          version    7.8.3
     56         version    8.0.1
    5757         compiler   ${prefix}/bin/ghc
    5858         ghc-pkg    ${prefix}/bin/ghc-pkg}
    5959}
  • devel/haskell-platform/Portfile

     
    66name            haskell-platform
    77
    88if {$subport == $name} {
    9     version         2014.2.0.0
     9    version         8.0.1
    1010    categories      devel haskell
    1111    maintainers     cal openmaintainer
    1212    description     \
     
    118118# Additional Platform Libraries #
    119119#################################
    120120
    121 haskell_platform_port async 2.0.1.5 1 {
    122     checksums               rmd160  0ec360bc373c4ca0b3c7617ec611f2414804e9cd \
    123                             sha256  cd13ac558f4f63e567100805770648e89307a3210852b17038c9be4fcc3aa83c
     121haskell_platform_port async 2.1.0 0 {
     122    checksums               rmd160  6b82f7ecc2b76b795b3a75860f741556b977e830 \
     123                            sha256  93c37611f9c68b5cdc8cd9960ae77a7fbc25da83cae90137ef1378d857f22c2f
    124124
    125125    depends_lib-append      port:hs-stm
    126126
     
    138138        automatically killed when their parent dies (see withAsync).
    139139}
    140140
    141 haskell_platform_port attoparsec 0.10.4.0 4 {
    142     checksums               rmd160  1fc9845e60fb0cddc9ffa8838c446b3046cd3522 \
    143                             sha256  b6b84e0dbd1c3beec1dedea578ac2f4d62afbe66b383582b7b3349406866d346
     141haskell_platform_port attoparsec 0.13.0.2 0 {
     142    checksums               rmd160  93333785e4716309332b659d2b789cac4bbf7d48 \
     143                            sha256  69f7f381f644ba4a6f348bbff9b2b4280b7b602e8e25e59eadb6e30ad5f2ec6a
    144144
    145     depends_lib-append      port:hs-text
     145    depends_lib-append      port:hs-text \
     146                            port:hs-scientific
    146147
    147148    description             Fast combinator parsing for bytestrings and text
    148149    long_description        \
     
    151152        formats.
    152153}
    153154
    154 haskell_platform_port case-insensitive 1.1.0.3 1 {
    155     checksums               rmd160  351ebf0ae84c4c580b910dbd3ed0828b309874c7 \
    156                             sha256  7b255fe63155d53ab84b248ab5ba9306fd4bec47a6198e3275cf9cb41c4d263b
     155haskell_platform_port case-insensitive 1.2.0.6 0 {
     156    checksums               rmd160  bc4b78cc1c8e812ea243453f26e0bb4697d68d96 \
     157                            sha256  bc7b53517fefc475311bfe6dbab8ade47ab8df11a59079653aa3271e9ffcb1c4
    157158
    158159    depends_lib-append      port:hs-hashable \
    159160                            port:hs-text
     
    166167        insensitive to cases.
    167168}
    168169
    169 haskell_platform_port fgl 5.5.0.1 1 {
    170     checksums               rmd160  c6c1f89db51d8d3ce6687dab13109c7f40c9c10c \
    171                             sha256  aa61664ba38db3e54124b702b1ee92a72a569c981b759e48cfb567078b038763
     170haskell_platform_port fgl 5.5.2.3 0 {
     171    checksums               rmd160  8371f511eadac788974737f0fad7ec157eadc4b3 \
     172                            sha256  f4113b5221917feb6389494bf8b7b6221ee00f322b6c25fc25a25795549f9e20
    172173
    173174    depends_lib-append      port:hs-mtl
    174175
     
    176177    long_description        ${description}
    177178}
    178179
    179 haskell_platform_port GLUT 2.5.1.1 1 {
    180     checksums               rmd160  b6e4bad4109307a614c3ba93aa1f3f8857ae45dc \
    181                             sha256  4a8177e154ead5a7bcc110f8fe408f9cf720783dde024ac1936cd95b659b2d59
    182 
    183     depends_lib-append      port:hs-opengl
     180haskell_platform_port fixed 0.2.1.1 0 {
     181    checksums               rmd160  0efb4f13fc43f916ffa50247902af6f12010e71e \
     182                            sha256  24a9e1e251998c9d06037bb771d9eab2980a91132de59a19d0166a1c51e715e2
    184183
    185     description             A binding for the OpenGL Utility Toolkit
    186     long_description        \
    187         A Haskell binding for the OpenGL Utility Toolkit, a window system \
    188         independent toolkit for writing OpenGL programs.
     184    description             Signed 15.16 precision fixed point arithmetic
     185    long_description        ${description}
    189186}
    190187
    191 haskell_platform_port GLURaw 1.4.0.1 1 {
    192     checksums               rmd160  1fa7a906c6f99d9540b200de038a2a734e576cea \
    193                             sha256  9655644beb54ff8fac68f2e0fd8a8e9a1e8409272e2e4c963ccce9bcd60e0ecc
     188haskell_platform_port GLURaw 2.0.0.1 0 {
     189    checksums               rmd160  309220ac689d5576e99be29bd2a54c2affae730a \
     190                            sha256  d561b2e170e6048f7f1b18647fa569f28684291e25924b41f169ecfdc281ab40
    194191
    195192    depends_lib-append      port:hs-openglraw
    196193
     
    201198        a nicer interface.
    202199}
    203200
    204 haskell_platform_port hashable 1.2.2.0 1 {
    205     checksums               rmd160  33f9040f2afcb93d6475d8872aef4c164a4cff5e \
    206                             sha256  033a90b0369af59bf922d0c2af8d73a18432b46b0a47607f436d38f873a88e21
     201haskell_platform_port GLUT 2.7.0.7 0 {
     202    checksums               rmd160  cff3ad049dbb6b49738b27833ce9217abafa9ca0 \
     203                            sha256  3a9f292f6a417c90f39065c7e0d441798b99276ccdd1c0f3feff50955b937c93
     204
     205    depends_lib-append      port:hs-opengl
     206
     207    description             A binding for the OpenGL Utility Toolkit
     208    long_description        \
     209        A Haskell binding for the OpenGL Utility Toolkit, a window system \
     210        independent toolkit for writing OpenGL programs.
     211}
     212
     213haskell_platform_port half 0.2.2.3 0 {
     214    checksums               rmd160  25b4611e534af7fdbbf65fd5e4e1af69e2065048 \
     215                            sha256  85c244c80d1c889a3d79073a6f5a99d9e769dbe3c574ca11d992b2b4f7599a5c
     216
     217    description             Half-precision floating-point
     218    long_description        ${description}
     219}
     220
     221haskell_platform_port hashable 1.2.4.0 0 {
     222    checksums               rmd160  cfca5318aa0394cb4573b39f0b42e067c1b6e9a8 \
     223                            sha256  fb9671db0c39cd48d38e2e13e3352e2bf7dfa6341edfe68789a1753d21bb3cf3
    207224
    208225    depends_lib-append      port:hs-text
    209226
     
    215232        a way to combine hash values.
    216233}
    217234
    218 haskell_platform_port haskell-src 1.0.1.6 1 {
    219     checksums               rmd160  649a0f9f116cb90f03411a9e8d53b17409c38134 \
    220                             sha256  c7c556366025d9895d1110ecfa30a29e29d7d0a8cb447716fe601e4ff5da4cef
     235haskell_platform_port haskell-src 1.0.2.0 0 {
     236    checksums               rmd160  d948608604247fd77a3fa4b3041e9da89ced36f6 \
     237                            sha256  2a25ee5729230edddb94af8d9881efbc1d8798bd316097f4646749cb2fa491a6
    221238
     239    depends_build-append    port:hs-happy
    222240    depends_lib-append      port:hs-syb
    223241
    224242    description             Support for manipulating Haskell source code
     
    229247        of this package are to parse or generate Haskell 98 code.
    230248}
    231249
    232 haskell_platform_port html 1.0.1.2 6 {
     250haskell_platform_port html 1.0.1.2 7 {
    233251    checksums               rmd160  55d95a42c297c9c4b0b0c3bbd077a5ed59e48878 \
    234252                            sha256  0c35495ea33d65e69c69bc7441ec8e1af69fbb43433c2aa3406c0a13a3ab3061
    235253
     
    238256        This package contains a combinator library for constructing HTML documents.
    239257}
    240258
    241 haskell_platform_port HTTP 4000.2.10 1 {
    242     checksums               rmd160  b1e3a1aec27c3e09fe1f93f93ab717cc4e576504 \
    243                             sha256  efde6d9f2e8cd7b72068579f0a75449703c0fa7aee76dfc0f3af175295a127d1
     259haskell_platform_port HTTP 4000.3.3 0 {
     260    checksums               rmd160  cb0c32394df7986a4b91534ccf3026a07c3d59c4 \
     261                            sha256  bbada3c2088dc1384234cdbc1bb6089ea588da068a6a38878ea259dd19de9bf2
    244262
    245263    depends_lib-append      port:hs-network \
    246                             port:hs-mtl \
    247                             port:hs-parsec
     264                            port:hs-network-uri \
     265                            port:hs-mtl
    248266
    249267    description             A library for client-side HTTP
    250268    long_description        \
     
    255273        the implementation is all written in Haskell.
    256274}
    257275
    258 haskell_platform_port HUnit 1.2.5.2 3 {
    259     checksums               rmd160  f6ac9ac12c152609174ea80a3a0c694210c81594 \
    260                             sha256  0af5ad34dba27de48b94ce6d5f7ee3aa6af6183bdc4a3967b811e28520369a41
     276haskell_platform_port HUnit 1.3.1.1 0 {
     277    checksums               rmd160  0198586d9234183b90f82dbce709f9355875ad2e \
     278                            sha256  93e5fc4290ab685b469209f04d9858338ffff486e15c23a11260c47e32da8ef8
    261279
    262280    description             A unit testing framework for Haskell
    263281    long_description        \
     
    265283        tool for Java, see: http://www.junit.org.
    266284}
    267285
    268 haskell_platform_port mtl 2.1.3.1 1 {
    269     checksums               rmd160  f6432fb7e64d66eff69f02ccca9fc30ac5dce502 \
    270                             sha256  77af766957fb49361fe63446f272a698bddb13398669edc363022e5c2517f6f6
     286haskell_platform_port mtl 2.2.1 0 {
     287    patch.pre_args          -p1
     288    patchfiles              59498406a6338d93891dec3abcbdde2cb7e41325.patch
     289
     290    checksums               rmd160  61f2af56029c85c40a66a04cbd8ff1b97e0f90d9 \
     291                            sha256  cae59d79f3a16f8e9f3c9adc1010c7c6cdddc73e8a97ff4305f6439d855c8dc5
    271292
    272293    description             Monad classes, using functional dependencies
    273294    long_description        \
     
    277298        School of Functional Programming, 1995
    278299}
    279300
    280 haskell_platform_port network 2.4.2.3 1 {
    281     checksums               rmd160  38f20be22e51a902a00416bad1e63480316e8348 \
    282                             sha256  801b9c652dae626bf4a96175162b1290e7fe7ff20d802d62434d5ae1d363c16d
     301haskell_platform_port network 2.6.2.1 0 {
     302    checksums               rmd160  3bcc893f68ca44f71cffedd95464ad0217b451c2 \
     303                            sha256  a3fda15c9bbe2c7274d97f40398c6cf8d1d3a9fe896fbf6531e1bfc849bb1bfa
    283304
    284305    depends_lib-append      port:hs-parsec
    285306
     
    287308    long_description        ${description}
    288309}
    289310
    290 haskell_platform_port OpenGL 2.9.2.0 1 {
    291     checksums               rmd160  b238630bd16d37485c58835a643d965ac6c61ef2 \
    292                             sha256  1758f6cacc9ea8f0d410fd0abc1a19f2a50dffdb62736d66d4e62b20619545e9
     311haskell_platform_port network-uri 2.6.1.0 0 {
     312    checksums               rmd160  591880177d5a19fad3a62c5b61af3e9e33cea94f \
     313                            sha256  423e0a2351236f3fcfd24e39cdbc38050ec2910f82245e69ca72a661f7fc47f0
     314
     315    depends_lib-append      port:hs-parsec
     316
     317    description             URI manipulation
     318    long_description        \
     319        This package provides an URI manipulation interface.
     320}
     321
     322haskell_platform_port ObjectName 1.1.0.1 0 {
     323    checksums               rmd160  53d05e3d9dc597b41f152288ae9b0754f4067b8d \
     324                            sha256  72dbef237580fd4e8567de2de752835bbadd3629f486d1586486d49a49aad210
     325
     326    description             Explicitly handled object names
     327    long_description        \
     328        This tiny package contains the class ObjectName, which corresponds to \
     329        the general notion of explicitly handled identifiers for API objects, \
     330        e.g. a texture object name in OpenGL or a buffer object name in OpenAL.
     331}
     332
     333haskell_platform_port OpenGL 3.0.0.2 0 {
     334    checksums               rmd160  ed26ed24240cd8ecca1ba7d0c2e8eb5800146475 \
     335                            sha256  13ee4a24d7caad61d3b63146be6620b523bde5b79f223c291f9f25ae9fd9681a
    293336
    294337    depends_lib-append      port:hs-gluraw \
     338                            port:hs-objectname \
    295339                            port:hs-openglraw \
     340                            port:hs-statevar \
    296341                            port:hs-text
    297342
    298343    description             A binding for the OpenGL graphics system
     
    301346        its accompanying utility library (GLU, version 1.3).
    302347}
    303348
    304 haskell_platform_port OpenGLRaw 1.5.0.0 1 {
    305     checksums               rmd160  6ede61cb59090ede7d3ec1df41311a8e14496080 \
    306                             sha256  852aa5229722269d70daed3c04b95e9dc7b7013efd62ebc4f2873a81768b9a12
     349haskell_platform_port OpenGLRaw 3.1.0.0 0 {
     350    checksums               rmd160  a975c57257dc9302d95a62a9bd95e266af7164ad \
     351                            sha256  414364cacce1c7601c93b388dbb73c5bdc76e5b0f3754ee61d0a5b94ccf9f3ce
     352
     353    depends_lib-append      port:hs-fixed \
     354                            port:hs-half \
     355                            port:hs-text
    307356
    308357    description             A raw binding for the OpenGL graphics system
    309358    long_description        \
     
    319368        thrown.
    320369}
    321370
    322 haskell_platform_port parallel 3.2.0.4 1 {
    323     checksums               rmd160  4bc31de0b3dd63ca8d24c967f32a2ee40f0a2d64 \
    324                             sha256  8cdb637fc04e4dd62f9deb0fe3c191b8068526009960f297f54dc9cf5616146d
     371haskell_platform_port parallel 3.2.1.0 0 {
     372    checksums               rmd160  1401fc3ec776251484ca3238301785fc746c7387 \
     373                            sha256  4de3cdbb71dfd13cbb70a1dc1d1d5cf34fbe9828e05eb02b3dc658fdc2148526
    325374
    326375    description             Parallel programming library
    327376    long_description        This package provides a library for parallel programming.
    328377}
    329378
    330 haskell_platform_port parsec 3.1.5 1 {
    331     checksums               rmd160  4d27dffd266c38cc3266ea17b792e00f180b3968 \
    332                             sha256  c572245d72bc3aff3491ce4f89215fcaa1e01c5e7b280d4c105a87db31793cb8
     379haskell_platform_port parsec 3.1.9 0 {
     380    checksums               rmd160  366255e648b0b9e20a555e942c71f53014a5a513 \
     381                            sha256  71f711d24c89581a43b8bc2d3ed56a1a802bbf1cd0b083bc34636c232b0342c9
    333382
    334383    depends_lib-append      port:hs-mtl \
    335384                            port:hs-text
     
    343392        monads, and it is also parametric in the input stream type.
    344393}
    345394
    346 haskell_platform_port primitive 0.5.2.1 1 {
    347     checksums               rmd160  b456047baa641acc897a871cc2212f9f3a2c576f \
    348                             sha256  0e516b81c2ef2c96d47dc40561663cc2cbfece0f135948e77e9b53025ff1c3ee
     395haskell_platform_port primitive 0.6.1.0 0 {
     396    patch.pre_args          -p1
     397    patchfiles              0359ea15842d4e6bef27c0d621964507e4bfd219.patch \
     398                            83d3d23d2fa1583ecd1b59464cc889924e1b5fff.patch \
     399                            1af89788d5c9ab7a0a93ff6764e1770e6c80d957.patch
     400
     401    checksums               rmd160  001324da6b15c9220304ab23d0cba166fa3e19d9 \
     402                            sha256  93731fa72eaf74e8e83453f080828e18cec9fbc82bee91b49ba8b61c043d38c8
    349403
    350404    description             Primitive memory-related operations
    351405    long_description        This package provides various primitive memory-related operations.
    352406}
    353407
    354 haskell_platform_port QuickCheck 2.6 3 {
    355     checksums               rmd160  94bab2dcefdd7a6eddd5af7211db1babf39e0df8 \
    356                             sha256  8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d
     408haskell_platform_port QuickCheck 2.8.2 0 {
     409    checksums               rmd160  d6aefde8860096ec06d66bbe1f2c451229aedb6b \
     410                            sha256  98c64de1e2dbf801c54dcdcb8ddc33b3569e0da38b39d711ee6ac505769926aa
     411
     412    depends_lib-append      port:hs-tf-random
    357413
    358     depends_lib-append      port:hs-random
     414    configure.args-append   -f base4point8
    359415
    360416    description             Automatic testing of Haskell programs
    361417    long_description        \
     
    365421        that the properties hold in a large number of randomly generated cases.
    366422}
    367423
    368 haskell_platform_port random 1.0.1.1 5 {
    369     checksums               rmd160  a13a4d7fefd15611cf863f11caf212efede320c3 \
    370                             sha256  df7c3b405de0ac27a2ee8fdc8dad87cb42e8eac01fef53861e43bc47c8111559
     424haskell_platform_port random 1.1 0 {
     425    checksums               rmd160  483867e6a218fd5aee0ed5156c81b90169de9fd1 \
     426                            sha256  b718a41057e25a3a71df693ab0fe2263d492e759679b3c2fea6ea33b171d3a5a
    371427
    372428    description             random number library
    373429    long_description        \
     
    375431        the ability to split random number generators.
    376432}
    377433
    378 haskell_platform_port regex-base 0.93.2 5 {
     434haskell_platform_port regex-base 0.93.2 6 {
    379435    checksums               rmd160  c009e193dd453666c7c3b585a25f3a8add7ec6b6 \
    380436                            sha256  20dc5713a16f3d5e2e6d056b4beb9cfdc4368cd09fd56f47414c847705243278
    381437
     
    385441    long_description        Interface API for regex-posix,pcre,parsec,tdfa,dfa
    386442}
    387443
    388 haskell_platform_port regex-compat 0.95.1 5 {
     444haskell_platform_port regex-compat 0.95.1 6 {
    389445    checksums               rmd160  b2fe02ca3c4e9027b2d433c8a265b19a85c8bd17 \
    390446                            sha256  d57cb1a5a4d66753b18eaa37a1621246f660472243b001894f970037548d953b
    391447
     
    396452    long_description        One module layer over regex-posix to replace Text.Regex
    397453}
    398454
    399 haskell_platform_port regex-posix 0.95.2 4 {
     455haskell_platform_port regex-posix 0.95.2 5 {
    400456    checksums               rmd160  7ee59eb760bb8c0c7fe17e17d90eb0623b9fd5bb \
    401457                            sha256  56019921cd4a4c9682b81ec614236fea816ba8ed8785a1640cd66d8b24fc703e
    402458
     
    406462    long_description        The posix regex backend for regex-base
    407463}
    408464
    409 haskell_platform_port split 0.2.2 3 {
    410     checksums               rmd160  7d4fe221283836386807f0e73a90df1255061f6f \
    411                             sha256  f9cf9e571357f227aed5be9a78f5bbf78ef55c99df2edf7fdc659acc1f904375
     465haskell_platform_port scientific 0.3.4.6 0 {
     466    checksums               rmd160  4bfb75065ac6f4bd08a57fbc5b0b57740bd475f9 \
     467                            sha256  bdd15c72b379ceaef5f30d7113e6971a47090a285f46d1d44528e328061df382
     468
     469    depends_lib-append      port:hs-hashable \
     470                            port:hs-text \
     471                            port:hs-vector
     472
     473    description             Numbers represented using scientific notation
     474    long_description        \
     475        Data.Scientific provides the number type Scientific. Scientific numbers \
     476        are arbitrary precision and space efficient. They are represented using \
     477        scientific notation.
     478}
     479
     480haskell_platform_port split 0.2.3 0 {
     481    checksums               rmd160  07ecb46e17402354b59df4c0dd27e1d1d3215314 \
     482                            sha256  a6d100e433fa27eda72127475ba9c55481ca4105cfbb6ff55b67023d00ccead9
    412483
    413484    description             Combinator library for splitting lists.
    414485    long_description        \
     
    416487        the "split" function found in several mainstream languages.
    417488}
    418489
    419 haskell_platform_port stm 2.4.2 3 {
    420     checksums               rmd160  7d49257f7e2de7cf18e02dc3ceeb4619d7980dd8 \
    421                             sha256  c8ee3cd64c266133902619cfff2d04e5f66206f91dbce8dd1182037fbe4858db
     490haskell_platform_port StateVar 1.1.0.4 0 {
     491    checksums               rmd160  2ebc45624d7c7559dd95b92c14771da7967818ad \
     492                            sha256  7ad68decb5c9a76f83c95ece5fa13d1b053e4fb1079bd2d3538f6b05014dffb7
     493
     494    depends_lib-append      port:hs-stm
     495
     496    description             State variables
     497    long_description        \
     498        This package contains state variables, which are references in the IO \
     499        monad, like IORefs or parts of the OpenGL state.
     500}
     501
     502haskell_platform_port stm 2.4.4.1 0 {
     503    checksums               rmd160  cf2d08df7a1d7b05ae793a28c548a7014f595cd1 \
     504                            sha256  8f999095ed8d50d2056fc6e185035ee8166c50751e1af8de02ac38d382bf3384
    422505
    423506    description             Software Transactional Memory
    424507    long_description        A modular composable concurrency abstraction.
    425508}
    426509
    427 haskell_platform_port syb 0.4.1 1 {
    428     checksums               rmd160  4ed2329f3c915adb91fb5b1f6b3735e219d1fdd6 \
    429                             sha256  aa32cb3d9a0cbcfb24ac1c5d567886e8908dd017fd009ffd446bff86732670d2
     510haskell_platform_port syb 0.6 0 {
     511    checksums               rmd160  b482c5236cdca6ef315fed2830c6937e8a9890b7 \
     512                            sha256  a38d1f7e6a40e2c990fec85215c45063a508bf73df98a4483ec78c5025b66cdc
    430513
    431514    description             Scrap Your Boilerplate
    432515    long_description        \
     
    438521        a variety of traversals.
    439522}
    440523
    441 haskell_platform_port text 1.1.0.0 1 {
    442     checksums               rmd160  b57efc9cbf277cd914a9e148129e42ae861771b8 \
    443                             sha256  80f1ada824f0e3886bb49dc7fd128707ca1a34e06bbf4419873b1677c4d7ba92
     524haskell_platform_port text 1.2.2.1 0 {
     525    checksums               rmd160  e45ea659385824258fffd634b7c141e567885d6e \
     526                            sha256  1addb1bdf36293c996653c9a0a320b5491714495862d997a23fb1ecd41ff395b
    444527
    445528    description             An efficient packed Unicode text type
    446529    long_description        \
     
    448531        with a powerful loop fusion optimization framework.
    449532}
    450533
    451 haskell_platform_port unordered-containers 0.2.4.0 1 {
    452     checksums               rmd160  0d62b6b8f95e65890e07934413cd1377ed1e85e5 \
    453                             sha256  34eaeb0c96d84169aca7085cf21f89bedb4bdb4de2ac78358a087faeea93cdf4
     534haskell_platform_port tf-random 0.5 1 {
     535    checksums               rmd160  bd58a02f7e68c4fd4e51591fa4ddad93d416d717 \
     536                            sha256  2e30cec027b313c9e1794d326635d8fc5f79b6bf6e7580ab4b00186dadc88510
     537
     538    depends_lib-append      port:hs-primitive \
     539                            port:hs-random
     540
     541    description             High-quality splittable pseudorandom number generator
     542    long_description        \
     543        This package contains an implementation of a high-quality splittable \
     544        pseudorandom number generator. The generator is based on \
     545        a cryptographic hash function built on top of the ThreeFish block \
     546        cipher. See the paper Splittable Pseudorandom Number Generators Using \
     547        Cryptographic Hashing by Claessen, Pałka for details and the rationale \
     548        of the design.
     549}
     550
     551haskell_platform_port unordered-containers 0.2.7.0 0 {
     552    checksums               rmd160  2458771be54ad1e26c499933585df2c927d9f3d6 \
     553                            sha256  6503226d24069698bbb454c15c53a7f9f245aba228e142c6b6ab2d31cecc5ef6
    454554
    455555    depends_lib-append      port:hs-hashable
    456556
     
    461561        quantities and high speed.
    462562}
    463563
    464 haskell_platform_port vector 0.10.9.1 1 {
    465     checksums               rmd160  885ba057a05219ae6a35170539c68996d2074668 \
    466                             sha256  205656e9741aad406e427e988dbf1665bf5dbdf3e9d574e309c274be4e06bde5
     564haskell_platform_port vector 0.11.0.0 0 {
     565    patch.pre_args          -p1
     566    patchfiles              552ff11c2bd905faff53b2e34900cbbbf59955c8.patch \
     567                            6c17dd6fadc5e7e3e09f7892380ce1339f296efd.patch
     568
     569    checksums               rmd160  7d4b4839385bcfed622b9be1d40801b7b33f03b2 \
     570                            sha256  0a5320ed44c3f2b04b7f61e0f63f4fcd5b337524e601e01d5813ace3f5a432e4
    467571
    468572    depends_lib-append      port:hs-primitive
    469573
     
    473577        immutable), with a powerful loop optimisation framework.
    474578}
    475579
    476 haskell_platform_port zlib 0.5.4.1 4 {
    477     checksums               rmd160  9ed49e79e239604958a9c385cca75747fafc2713 \
    478                             sha256  cca365e4c52c90be41a5754943134da5ce6c60bb52fa00c128fd118e0505a550
     580haskell_platform_port zlib 0.6.1.1 0 {
     581    checksums               rmd160  244614e96ea44529025f5343a768bd8317adbd48 \
     582                            sha256  c5f5b4285473657a7997d74f7642f3e7bda40f92c3c5d49471a899e27a4ba735
    479583
    480584    depends_lib-append      port:zlib
    481585
     
    491595# Programs and Tools #
    492596######################
    493597
    494 haskell_platform_tool cabal-install 1.18.0.5 1 {
    495     checksums               rmd160  f07279510e03678ad5e3720d9e01707681f874ea \
    496                             sha256  477df8ef73916e8bc23c727280a1700939131a3e2809a057668c883b0b521782
    497 
    498     depends_lib-append      port:hs-http \
     598haskell_platform_tool cabal-install 1.24.0.0 0 {
     599    checksums               rmd160  8cb6a107efc71d68783e8c41e54498a257059b3c \
     600                            sha256  d840ecfd0a95a96e956b57fb2f3e9c81d9fc160e1fd0ea350b0d37d169d9e87e
     601
     602    depends_lib-append      \
     603                            port:hs-async \
     604                            port:hs-cryptohash-sha256 \
     605                            port:hs-hackage-security \
     606                            port:hs-hashable \
     607                            port:hs-http \
    499608                            port:hs-mtl \
    500609                            port:hs-network \
    501610                            port:hs-random \
    502611                            port:hs-stm \
     612                            port:hs-tar \
    503613                            port:hs-zlib
    504614
    505615    description             The command-line interface for Cabal and Hackage
     
    509619        installation of Haskell libraries and programs.
    510620}
    511621
    512 haskell_platform_tool alex 3.1.3 1 {
    513     checksums               rmd160  2325ccfc770264c517d2dfa38cece9376d4e252d \
    514                             sha256  8d41a6e72a016155f00c846f7146ab4b27fe9640668a4b592d6a9b856f970a92
     622haskell_platform_tool alex 3.1.7 0 {
     623    checksums               rmd160  f96a1970e649c5928c8e4450517fa721e8059e10 \
     624                            sha256  89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1
    515625
    516626    depends_lib-append      port:hs-quickcheck
    517627
     
    523633        similar to the tool lex or flex for C/C++.
    524634}
    525635
    526 haskell_platform_tool happy 1.19.4 1 {
    527     checksums               rmd160  8ec09c4743d85ae493354e49df07f0ee423267cf \
    528                             sha256  6be499f66c61f8c48cbbbcb70515eb8e62c2bfa08adcc8c9474e7ae343a6936d
     636haskell_platform_tool happy 1.19.5 0 {
     637    checksums               rmd160  31895a6e6bcf1eeae2e5949cc5ca49d84094ae89 \
     638                            sha256  62f03ac11d7b4b9913f212f5aa2eee1087f3b46dc07d799d41e1854ff02843da
    529639
    530640    depends_lib-append      port:hs-mtl
    531641    description             A parser generator for Haskell
     
    535645        in a similar way to the yacc tool for C.
    536646}
    537647
    538 haskell_platform_tool hscolour 1.20.3 1 {
    539     checksums               rmd160  2d875ecdb910a5955a5ec049935a74c60edbc4cc \
    540                             sha256  3adb816fba3ecdf9f1ee5fb23feb0611b0762f7e8c2a282c2def5cc2f5483d96
     648haskell_platform_tool hscolour 1.24 0 {
     649    checksums               rmd160  3e12fdf8b9148c1d591d5e55805d3a62602c6de8 \
     650                            sha256  54bc45137ba06bd876cf98424f974e325e9b236bd5c18d1c5b2ea0351b1d9332
    541651
    542652    license                 GPL-2+
    543653
     
    549659        HTML 4.01 with CSS and mouseover annotations, XHTML 1.0 with inline CSS \
    550660        styling, LaTeX, and mIRC chat codes.
    551661}
     662
     663haskell_platform_tool stack 1.1.2 0 {
     664    checksums               rmd160  7024e4802abdc6dbb318807d4e15b4fa1a56788b \
     665                            sha256  fc836b24fdeac54244fc79b6775d5edee146b7e552ad8e69596c7cc2f2b10625
     666
     667    depends_lib-append      \
     668        aeson >=0.8.0.2 && <0.10 || ==0.11.*,
     669                ansi-terminal >=0.6.2.3 && <0.7,
     670                base-compat >=0.6 && <0.10,
     671                binary ==0.7.*,
     672                binary-tagged >=0.1.1 && <0.2,
     673                blaze-builder >=0.4.0.2 && <0.5,
     674                byteable >=0.1.1 && <0.2,
     675                conduit >=1.2.4 && <1.3,
     676                conduit-extra >=1.1.7.1 && <1.2,
     677                cryptohash >=0.11.6 && <0.12,
     678                cryptohash-conduit >=0.1.1 && <0.2,
     679                edit-distance ==0.2.*,
     680                either >=4.4.1.1 && <4.5,
     681                enclosed-exceptions >=1.0.1.1 && <1.1,
     682                errors >=2.1.2 && <2.2,
     683                exceptions >=0.8.0.2 && <0.9,
     684                extra >=1.4.6 && <1.5,
     685                fast-logger >=2.3.1 && <2.5,
     686                filelock >=0.1.0.1 && <0.2,
     687                fsnotify >=0.2.1 && <0.3,
     688                generic-deriving >=1.9.0 && <1.10,
     689                hastache >=0.6.1 && <0.7,
     690                hit >=0.6.3 && <0.7,
     691                hpack >=0.14.0 && <0.15,
     692                http-client >=0.4.28 && <0.5,
     693                http-client-tls >=0.2.2 && <0.3,
     694                http-conduit >=2.1.7 && <2.2,
     695                http-types >=0.8.6 && <0.10,
     696                lifted-base >=0.2.3.6 && <0.3,
     697                microlens >=0.3.0.0 && <0.5,
     698                monad-control >=1.0.1.0 && <1.1,
     699                monad-logger >=0.3.13.1 && <0.4,
     700                monad-unlift >=0.1.2.0 && <0.2,
     701                open-browser >=0.2.1 && <0.3,
     702                optparse-applicative >=0.11.0.2 && <0.13,
     703                path >=0.5.7 && <0.6,
     704                path-io >=1.1.0 && <2.0.0,
     705                persistent >=2.1.2 && <2.6,
     706                persistent-sqlite >=2.1.4 && <2.6,
     707                persistent-template >=2.1.1 && <2.6,
     708                process >=1.2.0.0 && <1.3,
     709                project-template ==0.2.*,
     710                regex-applicative-text >=0.1.0.1 && <0.2,
     711                resourcet >=1.1.4.1 && <1.2,
     712                retry >=0.6 && <0.8,
     713                safe ==0.3.*,
     714                semigroups >=0.5 && <0.19,
     715                split >=0.2.3.1 && <0.3,
     716                streaming-commons >=0.1.10.0 && <0.2,
     717                template-haskell >=2.9.0.0 && <2.11,
     718                temporary >=1.2.0.3 && <1.3,
     719                text-binary >=0.2.1 && <0.3,
     720                time >=1.4.2 && <1.6,
     721                tls >=1.3.8 && <1.4,
     722                transformers >=0.4.2.0 && <0.5,
     723                transformers-base >=0.4.4 && <0.5,
     724                unix-compat >=0.4.1.4 && <0.5,
     725                vector-binary-instances >=0.2.3.2 && <0.3,
     726                yaml >=0.8.10.1 && <0.9,
     727                zip-archive >=0.2.3.7 && <0.3
     728
     729    description             The Haskell Tool Stack
     730    long_description        \
     731        Stack is a cross-platform program for developing Haskell projects. It \
     732        is intended for Haskellers both new and experienced.
     733}
  • devel/haskell-platform/files/0359ea15842d4e6bef27c0d621964507e4bfd219.patch

     
     1From 0359ea15842d4e6bef27c0d621964507e4bfd219 Mon Sep 17 00:00:00 2001
     2From: Herbert Valerio Riedel <hvr@gnu.org>
     3Date: Sat, 31 Oct 2015 10:03:39 +0100
     4Subject: [PATCH] Bump upper bound to allow base-4.9
     5
     6Upstream-Stauts: Backport [https://github.com/haskell/primitive/commit/0359ea15842d4e6bef27c0d621964507e4bfd219]
     7---
     8 primitive.cabal | 2 +-
     9 1 file changed, 1 insertion(+), 1 deletion(-)
     10
     11diff --git a/primitive.cabal b/primitive.cabal
     12index 232dccc..2f35e9e 100644
     13--- a/primitive.cabal
     14+++ b/primitive.cabal
     15@@ -36,7 +36,7 @@ Library
     16         Data.Primitive.Internal.Compat
     17         Data.Primitive.Internal.Operations
     18 
     19-  Build-Depends: base >= 4.3 && < 4.9
     20+  Build-Depends: base >= 4.3 && < 4.10
     21                , ghc-prim >= 0.2 && < 0.5
     22                , transformers >= 0.2 && < 0.5
     23 
  • devel/haskell-platform/files/1af89788d5c9ab7a0a93ff6764e1770e6c80d957.patch

     
     1From 1af89788d5c9ab7a0a93ff6764e1770e6c80d957 Mon Sep 17 00:00:00 2001
     2From: Herbert Valerio Riedel <hvr@gnu.org>
     3Date: Sun, 20 Dec 2015 23:17:37 +0100
     4Subject: [PATCH] Relax upper bound to allow transformers-0.5
     5
     6Upstream-Status: Backport [https://github.com/haskell/primitive/commit/1af89788d5c9ab7a0a93ff6764e1770e6c80d957]
     7---
     8 primitive.cabal | 2 +-
     9 1 file changed, 1 insertion(+), 1 deletion(-)
     10
     11diff --git a/primitive.cabal b/primitive.cabal
     12index f034b78..982d2f4 100644
     13--- a/primitive.cabal
     14+++ b/primitive.cabal
     15@@ -38,7 +38,7 @@ Library
     16 
     17   Build-Depends: base >= 4.3 && < 4.10
     18                , ghc-prim >= 0.2 && < 0.6
     19-               , transformers >= 0.2 && < 0.5
     20+               , transformers >= 0.2 && < 0.6
     21 
     22   Ghc-Options: -O2 -Wall
     23 
  • devel/haskell-platform/files/552ff11c2bd905faff53b2e34900cbbbf59955c8.patch

     
     1From 552ff11c2bd905faff53b2e34900cbbbf59955c8 Mon Sep 17 00:00:00 2001
     2From: Herbert Valerio Riedel <hvr@gnu.org>
     3Date: Sat, 31 Oct 2015 10:02:58 +0100
     4Subject: [PATCH] Bump upper bound to allow base-4.9
     5
     6Upstream-Status: Backport [https://github.com/haskell/vector/commit/552ff11c2bd905faff53b2e34900cbbbf59955c8]
     7---
     8 vector.cabal | 2 +-
     9 1 file changed, 1 insertion(+), 1 deletion(-)
     10
     11diff --git a/vector.cabal b/vector.cabal
     12index 062fd38..3d3b0ff 100644
     13--- a/vector.cabal
     14+++ b/vector.cabal
     15@@ -138,7 +138,7 @@ Library
     16   Install-Includes:
     17         vector.h
     18 
     19-  Build-Depends: base >= 4.3 && < 4.9
     20+  Build-Depends: base >= 4.3 && < 4.10
     21                , primitive >= 0.5.0.1 && < 0.7
     22                , ghc-prim >= 0.2 && < 0.5
     23                , deepseq >= 1.1 && < 1.5
  • devel/haskell-platform/files/59498406a6338d93891dec3abcbdde2cb7e41325.patch

     
     1From 59498406a6338d93891dec3abcbdde2cb7e41325 Mon Sep 17 00:00:00 2001
     2From: Oleg Grenrus <oleg.grenrus@iki.fi>
     3Date: Wed, 23 Dec 2015 16:41:29 +0200
     4Subject: [PATCH] Support transformers-0.5
     5
     6Upstream-Staus: Backport [https://github.com/ekmett/mtl/commit/59498406a6338d93891dec3abcbdde2cb7e41325]
     7---
     8 mtl.cabal | 2 +-
     9 1 file changed, 1 insertion(+), 1 deletion(-)
     10
     11diff --git a/mtl.cabal b/mtl.cabal
     12index aaa5187..7702edd 100644
     13--- a/mtl.cabal
     14+++ b/mtl.cabal
     15@@ -54,7 +54,7 @@ Library
     16     Control.Monad.Writer.Class
     17     Control.Monad.Writer.Lazy
     18     Control.Monad.Writer.Strict
     19-  build-depends: base < 6, transformers == 0.4.*
     20+  build-depends: base < 6, transformers >= 0.4 && <0.6
     21   extensions:
     22     MultiParamTypeClasses
     23     FunctionalDependencies
  • devel/haskell-platform/files/6c17dd6fadc5e7e3e09f7892380ce1339f296efd.patch

     
     1From 6c17dd6fadc5e7e3e09f7892380ce1339f296efd Mon Sep 17 00:00:00 2001
     2From: Herbert Valerio Riedel <hvr@gnu.org>
     3Date: Sun, 1 Nov 2015 12:51:30 +0100
     4Subject: [PATCH] Relax upper bound on `ghc-prim` to allow v0.5
     5
     6See https://github.com/ghc/ghc/blob/master/libraries/ghc-prim/changelog.md for what changed
     7
     8Upstream-Status: Backport [https://github.com/haskell/vector/commit/6c17dd6fadc5e7e3e09f7892380ce1339f296efd]
     9---
     10 vector.cabal | 2 +-
     11 1 file changed, 1 insertion(+), 1 deletion(-)
     12
     13diff --git a/vector.cabal b/vector.cabal
     14index 3d3b0ff..d962c72 100644
     15--- a/vector.cabal
     16+++ b/vector.cabal
     17@@ -140,7 +140,7 @@ Library
     18 
     19   Build-Depends: base >= 4.3 && < 4.10
     20                , primitive >= 0.5.0.1 && < 0.7
     21-               , ghc-prim >= 0.2 && < 0.5
     22+               , ghc-prim >= 0.2 && < 0.6
     23                , deepseq >= 1.1 && < 1.5
     24 
     25   Ghc-Options: -O2 -Wall -fno-warn-orphans
  • devel/haskell-platform/files/83d3d23d2fa1583ecd1b59464cc889924e1b5fff.patch

     
     1From 83d3d23d2fa1583ecd1b59464cc889924e1b5fff Mon Sep 17 00:00:00 2001
     2From: Herbert Valerio Riedel <hvr@gnu.org>
     3Date: Sun, 1 Nov 2015 12:51:32 +0100
     4Subject: [PATCH] Relax upper bound on `ghc-prim` to allow v0.5
     5
     6See https://github.com/ghc/ghc/blob/master/libraries/ghc-prim/changelog.md for what changed
     7
     8Upstream-Status: Backport [https://github.com/haskell/primitive/commit/83d3d23d2fa1583ecd1b59464cc889924e1b5fff]
     9---
     10 primitive.cabal | 2 +-
     11 1 file changed, 1 insertion(+), 1 deletion(-)
     12
     13diff --git a/primitive.cabal b/primitive.cabal
     14index 2f35e9e..f034b78 100644
     15--- a/primitive.cabal
     16+++ b/primitive.cabal
     17@@ -37,7 +37,7 @@ Library
     18         Data.Primitive.Internal.Operations
     19 
     20   Build-Depends: base >= 4.3 && < 4.10
     21-               , ghc-prim >= 0.2 && < 0.5
     22+               , ghc-prim >= 0.2 && < 0.6
     23                , transformers >= 0.2 && < 0.5
     24 
     25   Ghc-Options: -O2 -Wall
  • lang/ghc/Portfile

     
    88# Do not update GHC separate from Haskell Platform.
    99# When updating GHC, make sure to revbump all Haskell ports.
    1010# Also make sure to update the version in the Haskell PortGroup.
    11 version             7.8.3
    12 revision            4
     11version             8.0.1
     12revision            0
    1313categories          lang haskell
    1414maintainers         cal openmaintainer
    1515license             BSD
     
    3434distname        ${name}-${version}-src
    3535worksrcdir      ${name}-${version}
    3636
    37 use_bzip2       yes
     37use_xz          yes
    3838
    3939distfiles       ${name}-${version}-src${extract.suffix} \
    4040                ${name}-${version}-testsuite${extract.suffix}
    4141
    42 checksums       ghc-7.8.3-src.tar.bz2 \
    43                 rmd160  464d31d924a8c1e23e94b3cae810c4e41dad4b75 \
    44                 sha256  2358826f8424bf571dcc313bd882422fe108a340d6e37db4339ff6d5d6ac3f37 \
    45                 ghc-7.8.3-testsuite.tar.bz2 \
    46                 rmd160  abc39b71e2f3926b80c681428c447f39599d7d83 \
    47                 sha256  9cfef874adf5b895701ae52e507f07049a64246af120ac15200e7bf612521122
     42checksums       ghc-8.0.1-src.tar.xz \
     43                rmd160  3ad5728492a7dd874de320fe0a3936fcd7681693 \
     44                sha256  90fb20cd8712e3c0fbeb2eac8dab6894404c21569746655b9b12ca9684c7d1d2 \
     45                ghc-8.0.1-testsuite.tar.xz \
     46                rmd160  20e03e566d0842dfcd12f48fa0cc86c6d5a3caff \
     47                sha256  bc57163656ece462ef61072559d491b72c5cdd694f3c39b80ac0f6b9a3dc8151
    4848
    4949depends_build   port:ghc-bootstrap \
    5050                port:libxslt
    5151
    52 depends_lib     port:gmp           \
    53                 port:ncurses       \
    54                 port:libiconv      \
    55                 port:llvm-3.5      \
     52depends_lib     port:gmp \
     53                port:ncurses \
     54                port:libiconv \
     55                port:llvm-3.7 \
    5656                port:libffi
    5757
    58 patchfiles      patch-configure-workaround-bsdsed-incompatibility.diff \
    59                 patch-configure-disable-docs.diff \
    60                 patch-unix_lib_osx_sandbox_compatibility.diff
     58patchfiles      patch-configure-link-ghc-pwd-against-system-libiconv.diff \
     59                buildpath-abi-stability.patch
    6160
    6261livecheck.type  none
    6362test.run        yes
     
    7877                macports-clang-3.3
    7978
    8079set bootstraproot ${prefix}/share/ghc-bootstrap
    81 set llvmPrefix  ${prefix}/libexec/llvm-3.5
     80set llvmPrefix  ${prefix}/libexec/llvm-3.7
    8281configure.args  --with-ghc=${bootstraproot}/bin/ghc \
    8382                --with-iconv-includes=${prefix}/include \
    8483                --with-iconv-libraries=${prefix}/lib \
     
    9190                --with-llc=${llvmPrefix}/bin/llc \
    9291                --with-opt=${llvmPrefix}/bin/opt
    9392
     93# See https://ghc.haskell.org/trac/ghc/ticket/11744
     94pre-configure {
     95    try {
     96        set nmclassic [exec -- xcrun --find nm-classic]
     97        if {$nmclassic ne ""} {
     98            configure.args-append   --with-nm=${nmclassic}
     99        }
     100    } catch {*} {}
     101}
     102
    94103# OK so because the bootstrap binary has been prebuilt for libraries in
    95104# /usr/lib we search these in addition to MacPorts' paths to prevent link
    96105# errors. GHC _should_ actually compile itself in stage2 using paths from the
     
    98107compiler.cpath /usr/include
    99108compiler.library_path /usr/lib
    100109
    101 build.args      VERBOSE=1
    102 destroot.args   VERBOSE=1
     110pre-configure {
     111    file mkdir ${worksrcpath}/build
     112    file copy -force ${filespath}/build.mk ${worksrcpath}/build/build.mk
     113}
    103114
    104115pre-activate {
    105116    set obsoletes [list]
  • lang/ghc/files/build.mk

     
     1# -----------------------------------------------------------------------------
     2# MacPorts GHC build configuration
     3#
     4# Uncomment one of the following BuildFlavour settings to get the desired
     5# overall build type.
     6
     7# Disable building the documentation, we want to avoid the dependency
     8BUILD_DOCBOOK_HTML = NO
     9BUILD_DOCBOOK_PS   = NO
     10BUILD_DOCBOOK_PDF  = NO
     11
     12# -------- Build profiles -----------------------------------------------------
     13# Uncomment one of these to select a build profile below:
     14
     15# Full build with max optimisation and everything enabled (very slow build)
     16#BuildFlavour = perf
     17
     18# As above but build GHC using the LLVM backend
     19#BuildFlavour = perf-llvm
     20
     21# Perf build configured for a cross-compiler
     22#BuildFlavour = perf-cross
     23
     24# Fast build with optimised libraries, no profiling (RECOMMENDED):
     25BuildFlavour = quick
     26
     27# Fast build with optimised libraries, no profiling, with LLVM:
     28#BuildFlavour = quick-llvm
     29
     30# Fast build configured for a cross compiler
     31#BuildFlavour  = quick-cross
     32
     33# Even faster build.  NOT RECOMMENDED: the libraries will be
     34# completely unoptimised, so any code built with this compiler
     35# (including stage2) will run very slowly:
     36#BuildFlavour = quickest
     37
     38# Profile the stage2 compiler:
     39#BuildFlavour = prof
     40
     41# A development build, working on the stage 1 compiler:
     42#BuildFlavour = devel1
     43
     44# A development build, working on the stage 2 compiler:
     45#BuildFlavour = devel2
     46
     47# A build with max optimisation that still builds the stage2 compiler
     48# quickly. Compiled code will be the same as with "perf". Programs
     49# will compile more slowly.
     50#BuildFlavour = bench
     51
     52# As above but build GHC using the LLVM backend
     53#BuildFlavour = bench-llvm
     54
     55# Bench build configured for a cross-compiler
     56#BuildFlavour = bench-cross
     57
     58# Use the same settings as validate.
     59#BuildFlavour = validate
     60
     61ifneq "$(BuildFlavour)" ""
     62include mk/flavours/$(BuildFlavour).mk
     63endif
     64
     65# -------- Miscellaneous variables --------------------------------------------
     66
     67# Set to V = 0 to get prettier build output.
     68# Please use V=1 (the default) when reporting GHC bugs.
     69V = 0
     70
     71# Should all enabled warnings (see mk/warnings.mk) be turned into errors while
     72# building stage 2?
     73#WERROR=-Werror
     74
     75# After stage 1 and the libraries have been built, you can uncomment this line:
     76#stage=2
     77
     78# Then stage 1 will not be touched by the build system, until
     79# you comment the line again.  This is a useful trick for when you're
     80# working on stage 2 and want to freeze stage 1 and the libraries for
     81# a while.
     82
     83# Build the "extra" packages (see ./packages). This enables more tests. See:
     84# https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages
     85#BUILD_EXTRA_PKGS=YES
     86
     87# Uncomment the following line to enable building DPH
     88#BUILD_DPH=YES
     89
     90# Uncomment the following to force `integer-gmp` to use the in-tree GMP 5.0.4
     91# (other sometimes useful configure-options: `--with-gmp-{includes,libraries}`)
     92#libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-intree-gmp
     93
     94GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
     95
     96# Only use -fasm by default on platforms that support it.
     97GhcFAsm = $(if $(filter $(GhcWithNativeCodeGen),YES),-fasm,)
     98
     99# ----------- A Performance/Distribution build --------------------------------
     100
     101ifeq "$(BuildFlavour)" "perf"
     102
     103# perf matches the default settings, repeated here for comparison:
     104
     105SRC_HC_OPTS     = -O -H64m
     106GhcStage1HcOpts = -O $(GhcFAsm)
     107GhcStage2HcOpts = -O2 $(GhcFAsm)
     108GhcHcOpts       = -Rghc-timing
     109GhcLibHcOpts    = -O2
     110GhcLibWays     += p
     111
     112ifeq "$(PlatformSupportsSharedLibs)" "YES"
     113GhcLibWays += dyn
     114endif
     115
     116endif
     117
     118# ---------------- Perf build using LLVM --------------------------------------
     119
     120ifeq "$(BuildFlavour)" "perf-llvm"
     121
     122SRC_HC_OPTS     = -O -H64m -fllvm
     123GhcStage1HcOpts = -O -fllvm
     124GhcStage2HcOpts = -O2 -fllvm
     125GhcHcOpts       = -Rghc-timing
     126GhcLibHcOpts    = -O2
     127GhcLibWays     += p
     128
     129endif
     130
     131# ------- A Perf build configured for cross-compilation ----------------------
     132
     133ifeq "$(BuildFlavour)" "perf-cross"
     134
     135SRC_HC_OPTS     = -O -H64m -fllvm
     136GhcStage1HcOpts = -O2
     137GhcStage2HcOpts = -O2 -fllvm
     138GhcHcOpts       = -Rghc-timing
     139GhcLibHcOpts    = -O2
     140GhcLibWays     += p
     141INTEGER_LIBRARY    = integer-simple
     142Stage1Only         = YES
     143
     144HADDOCK_DOCS       = NO
     145BUILD_DOCBOOK_HTML = NO
     146BUILD_DOCBOOK_PS   = NO
     147BUILD_DOCBOOK_PDF  = NO
     148
     149DYNAMIC_BY_DEFAULT   = NO
     150DYNAMIC_GHC_PROGRAMS = NO
     151
     152endif
     153
     154# -------- A Fast build -------------------------------------------------------
     155
     156ifeq "$(BuildFlavour)" "quickest"
     157
     158SRC_HC_OPTS        = -H64m -O0 $(GhcFAsm)
     159GhcStage1HcOpts    = -O $(GhcFAsm)
     160GhcStage2HcOpts    = -O0 $(GhcFAsm)
     161GhcLibHcOpts       = -O0 $(GhcFAsm)
     162SplitObjs          = NO
     163HADDOCK_DOCS       = NO
     164BUILD_DOCBOOK_HTML = NO
     165BUILD_DOCBOOK_PS   = NO
     166BUILD_DOCBOOK_PDF  = NO
     167
     168endif
     169
     170# -------- A Fast build with optimised libs -----------------------------------
     171
     172ifeq "$(BuildFlavour)" "quick"
     173
     174SRC_HC_OPTS        = -H64m -O0 $(GhcFAsm)
     175GhcStage1HcOpts    = -O $(GhcFAsm)
     176GhcStage2HcOpts    = -O0 $(GhcFAsm)
     177GhcLibHcOpts       = -O $(GhcFAsm)
     178SplitObjs          = NO
     179HADDOCK_DOCS       = NO
     180BUILD_DOCBOOK_HTML = NO
     181BUILD_DOCBOOK_PS   = NO
     182BUILD_DOCBOOK_PDF  = NO
     183
     184endif
     185
     186# -------- A Fast build with optimised libs using LLVM ------------------------
     187
     188ifeq "$(BuildFlavour)" "quick-llvm"
     189
     190SRC_HC_OPTS        = -H64m -O0 -fllvm
     191GhcStage1HcOpts    = -O -fllvm
     192GhcStage2HcOpts    = -O0 -fllvm
     193GhcLibHcOpts       = -O -fllvm
     194SplitObjs          = NO
     195HADDOCK_DOCS       = NO
     196BUILD_DOCBOOK_HTML = NO
     197BUILD_DOCBOOK_PS   = NO
     198BUILD_DOCBOOK_PDF  = NO
     199
     200endif
     201
     202# -------- A Fast build configured for cross-compilation ----------------------
     203
     204ifeq "$(BuildFlavour)" "quick-cross"
     205
     206SRC_HC_OPTS        = -H64m -O0
     207GhcStage1HcOpts    = -O
     208GhcStage2HcOpts    = -O0 -fllvm
     209GhcLibHcOpts       = -O -fllvm
     210SplitObjs          = NO
     211HADDOCK_DOCS       = NO
     212BUILD_DOCBOOK_HTML = NO
     213BUILD_DOCBOOK_PS   = NO
     214BUILD_DOCBOOK_PDF  = NO
     215INTEGER_LIBRARY    = integer-simple
     216Stage1Only         = YES
     217
     218DYNAMIC_BY_DEFAULT   = NO
     219DYNAMIC_GHC_PROGRAMS = NO
     220
     221endif
     222
     223# -------- Profile the stage2 compiler ----------------------------------------
     224
     225ifeq "$(BuildFlavour)" "prof"
     226
     227SRC_HC_OPTS        = -H64m -O0 $(GhcFAsm)
     228GhcStage1HcOpts    = -O $(GhcFAsm)
     229GhcStage2HcOpts    = -O $(GhcFAsm)
     230GhcLibHcOpts       = -O $(GhcFAsm)
     231
     232GhcLibWays         += p
     233GhcProfiled        = YES
     234
     235SplitObjs          = NO
     236HADDOCK_DOCS       = NO
     237BUILD_DOCBOOK_HTML = NO
     238BUILD_DOCBOOK_PS   = NO
     239BUILD_DOCBOOK_PDF  = NO
     240
     241endif
     242
     243# -------- A Development build (stage 1) --------------------------------------
     244
     245ifeq "$(BuildFlavour)" "devel1"
     246
     247SRC_HC_OPTS        = -H64m -O $(GhcFAsm)
     248GhcLibHcOpts       = -O -dcore-lint
     249GhcStage1HcOpts    = -Rghc-timing -O0 -DDEBUG
     250GhcStage2HcOpts    = -Rghc-timing -O $(GhcFAsm)
     251SplitObjs          = NO
     252HADDOCK_DOCS       = NO
     253BUILD_DOCBOOK_HTML = NO
     254BUILD_DOCBOOK_PS   = NO
     255BUILD_DOCBOOK_PDF  = NO
     256LAX_DEPENDENCIES   = YES
     257
     258endif
     259
     260# -------- A Development build (stage 2) --------------------------------------
     261
     262ifeq "$(BuildFlavour)" "devel2"
     263
     264SRC_HC_OPTS        = -H64m -O $(GhcFAsm)
     265GhcLibHcOpts       = -O -dcore-lint
     266GhcStage1HcOpts    = -Rghc-timing -O $(GhcFAsm)
     267GhcStage2HcOpts    = -Rghc-timing -O0 -DDEBUG
     268SplitObjs          = NO
     269HADDOCK_DOCS       = NO
     270BUILD_DOCBOOK_HTML = NO
     271BUILD_DOCBOOK_PS   = NO
     272BUILD_DOCBOOK_PDF  = NO
     273LAX_DEPENDENCIES   = YES
     274
     275endif
     276
     277# -------- A bench build with optimised libs -----------------------------------
     278
     279ifeq "$(BuildFlavour)" "bench"
     280
     281SRC_HC_OPTS        = -O -H64m
     282GhcStage1HcOpts    = -O $(GhcFAsm)
     283GhcStage2HcOpts    = -O0 $(GhcFAsm)
     284GhcLibHcOpts       = -O2 $(GhcFAsm)
     285SplitObjs          = NO
     286HADDOCK_DOCS       = NO
     287BUILD_DOCBOOK_HTML = NO
     288BUILD_DOCBOOK_PS   = NO
     289BUILD_DOCBOOK_PDF  = NO
     290
     291endif
     292
     293# ---------------- Bench build using LLVM --------------------------------------
     294
     295ifeq "$(BuildFlavour)" "bench-llvm"
     296
     297SRC_HC_OPTS        = -O -H64m
     298GhcStage1HcOpts    = -O -fllvm
     299GhcStage2HcOpts    = -O0 -fllvm
     300GhcLibHcOpts       = -O2 -fllvm
     301SplitObjs          = NO
     302HADDOCK_DOCS       = NO
     303BUILD_DOCBOOK_HTML = NO
     304BUILD_DOCBOOK_PS   = NO
     305BUILD_DOCBOOK_PDF  = NO
     306
     307endif
     308
     309# ------- A Bench build configured for cross-compilation ----------------------
     310
     311ifeq "$(BuildFlavour)" "bench-cross"
     312
     313SRC_HC_OPTS        = -O -H64m
     314GhcStage1HcOpts    = -O $(GhcFAsm)
     315GhcStage2HcOpts    = -O0 $(GhcFAsm)
     316GhcLibHcOpts       = -O2 $(GhcFAsm)
     317SplitObjs          = NO
     318INTEGER_LIBRARY    = integer-simple
     319Stage1Only         = YES
     320HADDOCK_DOCS       = NO
     321BUILD_DOCBOOK_HTML = NO
     322BUILD_DOCBOOK_PS   = NO
     323BUILD_DOCBOOK_PDF  = NO
     324
     325DYNAMIC_BY_DEFAULT   = NO
     326DYNAMIC_GHC_PROGRAMS = NO
     327
     328endif
     329
     330# -----------------------------------------------------------------------------
     331# Other settings that might be useful
     332
     333# NoFib settings
     334NoFibWays =
     335STRIP_CMD = :
     336
     337# ghc-pwd needs to link against /usr/lib/libiconv.dylib explicitly, because
     338# ghc-bootstrap's base library .a archive expects it
     339utils/ghc-pwd_EXTRA_LIBRARIES += "/usr/lib/libiconv.dylib"
  • lang/ghc/files/buildpath-abi-stability.patch

     
     1Avoid leaking build path into ABI hashes
     2
     3GHC's build path leaks into the ABI hashes it generates by default. This
     4causes problems because it means that recompiling GHC in a different path
     5also requires recompiling all Haskell packages. Obviously, this is
     6undesirable for a distribution.
     7
     8This patch originates from Debian's Joachim Breitner. See
     9http://bugs.debian.org/785282 for the Debian bug report. It has been
     10submitted upstream in https://ghc.haskell.org/trac/ghc/ticket/10424.
     11
     12Upstream-Status: Submitted [https://ghc.haskell.org/trac/ghc/ticket/10424]
     13Index: ./compiler/iface/MkIface.hs
     14===================================================================
     15--- ./compiler/iface/MkIface.hs 2015-05-17 20:34:02.808643844 +0200
     16+++ ./compiler/iface/MkIface.hs 2015-05-17 20:34:02.804643799 +0200
     17@@ -611,7 +611,7 @@
     18    iface_hash <- computeFingerprint putNameLiterally
     19                       (mod_hash,
     20                        ann_fn (mkVarOcc "module"),  -- See mkIfaceAnnCache
     21-                       mi_usages iface0,
     22+                       usages,
     23                        sorted_deps,
     24                        mi_hpc iface0)
     25 
     26@@ -644,6 +644,9 @@
     27     (non_orph_fis,   orph_fis)   = mkOrphMap ifFamInstOrph (mi_fam_insts iface0)
     28     fix_fn = mi_fix_fn iface0
     29     ann_fn = mkIfaceAnnCache (mi_anns iface0)
     30+    -- Do not allow filenames to affect the interface
     31+    usages = [ case u of UsageFile _ fp -> UsageFile "" fp; _ -> u | u <- mi_usages iface0 ]
     32+
     33 
     34 getOrphanHashes :: HscEnv -> [Module] -> IO [Fingerprint]
     35 getOrphanHashes hsc_env mods = do
  • lang/ghc/files/patch-configure-disable-docs.diff

     
    1 --- configure.orig      2014-09-17 23:12:43.000000000 +0200
    2 +++ configure   2014-09-17 23:13:29.000000000 +0200
    3 @@ -11943,6 +11943,9 @@
    4      BUILD_DOCBOOK_PS=YES
    5      BUILD_DOCBOOK_PDF=YES
    6  fi
    7 +BUILD_DOCBOOK_HTML=NO
    8 +BUILD_DOCBOOK_PS=NO
    9 +BUILD_DOCBOOK_PDF=NO
    10  
    11  
    12  
  • lang/ghc/files/patch-configure-link-ghc-pwd-against-system-libiconv.diff

     
     1Fix initial build of ghc-pwd due to missing libiconv
     2
     3ghc-pwd fails to build because it is built using ghc-bootstrap, which ships
     4libHSbase-$version.a, which references symbols from libiconv (and actually the
     5system libiconv, because the MacPorts use uses _libiconv as symbol names, but
     6the archive uses _iconv). Fix this by explicitly linking against the system
     7libiconv for this initial build of ghc-pwd.
     8
     9Upstream-Status: Inappropriate (/usr/lib/libiconv.dylib is system-specific; a generic solution would be needed)
     10--- configure.orig      2016-05-20 23:40:29.000000000 +0200
     11+++ configure   2016-05-20 23:41:06.000000000 +0200
     12@@ -4149,7 +4149,7 @@
     13 $as_echo "$as_me: Building in-tree ghc-pwd" >&6;}
     14                 rm -rf utils/ghc-pwd/dist-boot
     15     mkdir  utils/ghc-pwd/dist-boot
     16-                GHC_LDFLAGS=`perl -e 'foreach (@ARGV) { print "-optl$_ " }' -- $LDFLAGS`
     17+                GHC_LDFLAGS=`perl -e 'foreach (@ARGV) { print "-optl$_ " }' -- $LDFLAGS /usr/lib/libiconv.dylib`
     18         if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd
     19     then
     20         as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5
  • lang/ghc/files/patch-configure-workaround-bsdsed-incompatibility.diff

     
    1 --- configure.orig      2014-09-17 22:40:16.000000000 +0200
    2 +++ configure   2014-09-17 22:40:40.000000000 +0200
    3 @@ -4075,7 +4075,7 @@
    4  $as_echo "$as_me: Building in-tree ghc-pwd" >&6;}
    5                  rm -rf utils/ghc-pwd/dist-boot
    6      mkdir  utils/ghc-pwd/dist-boot
    7 -                GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`
    8 +                GHC_LDFLAGS= # this breaks our build with BSD sed, and we don't need the LDFLAGS here
    9          if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd
    10      then
    11          as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5
  • lang/ghc/files/patch-unix_lib_osx_sandbox_compatibility.diff

     
    1 --- libraries/unix/System/Posix/Files.hsc.orig  2014-09-21 17:58:47.000000000 +0200
    2 +++ libraries/unix/System/Posix/Files.hsc       2014-09-21 17:59:31.000000000 +0200
    3 @@ -152,7 +152,8 @@
    4      if (r == 0)
    5          then return True
    6          else do err <- getErrno
    7 -                if (err == eACCES || err == eROFS || err == eTXTBSY)
    8 +                if (err == eACCES || err == eROFS || err == eTXTBSY ||
    9 +                    err == ePERM)
    10                     then return False
    11                     else throwErrnoPath "fileAccess" name
    12  
    13 --- libraries/unix/System/Posix/Files/ByteString.hsc.orig       2014-09-21 17:58:54.000000000 +0200
    14 +++ libraries/unix/System/Posix/Files/ByteString.hsc    2014-09-21 18:02:27.000000000 +0200
    15 @@ -158,9 +158,10 @@
    16      if (r == 0)
    17         then return True
    18         else do err <- getErrno
    19 -               if (err == eACCES)
    20 -                  then return False
    21 -                  else throwErrnoPath "fileAccess" name
    22 +                if (err == eACCES || err == eROFS || err == eTXTBSY ||
    23 +                    err == ePERM)
    24 +                   then return False
    25 +                   else throwErrnoPath "fileAccess" name
    26  
    27  
    28  -- | @getFileStatus path@ calls gets the @FileStatus@ information (user ID,
  • lang/ghc-bootstrap/Portfile

     
    66
    77name                ghc-bootstrap
    88set canonicalname   ghc
    9 # Note: 7.6.3 doesn't have a i386 darwin version at http://www.haskell.org/ghc/dist/7.6.3
    10 version             7.6.2
    11 revision            1
     9
     10version             7.10.3
    1211categories          lang haskell
    1312maintainers         cal openmaintainer
    1413license             BSD
    1514platforms           darwin
    16 supported_archs     i386 x86_64
     15
     16# Warning: http://downloads.haskell.org/~ghc/7.10.3/ does not have a i386
     17# darwin build and 7.6.2 (which seems to be the latest build that has it) is
     18# affected by https://github.com/haskell/unix/pull/18, which causes the GHC
     19# build to fail on El Capitan and later. This means that
     20#  (a) I (or somebody else) would have to build a i386 ghc-bootstrap
     21#  (b) i386 builds of GHC are no longer supported.
     22# I'm going with (b) until somebody on i386 volunteers to build a ghc-bootstrap
     23# or convinces upstream to do so.
     24supported_archs     x86_64
     25
    1726universal_variant   no
    1827installs_libs       no
    1928
    2029description         The Glorious Glasgow Haskell Compilation System
    21 long_description    \
    22                     This is a package that installs a binary \
    23                     bootstrap ghc compiler.
     30long_description    This is a package that installs a binary GHC compiler for bootstrapping.
    2431
    25 homepage            http://haskell.org/${canonicalname}
    26 master_sites        ${homepage}/dist/${version}/
     32homepage            https://haskell.org/${canonicalname}
     33master_sites        https://downloads.haskell.org/~${canonicalname}/${version}/
    2734distname            ${canonicalname}-${version}-${build_arch}-apple-darwin
    2835worksrcdir          ${canonicalname}-${version}
    29 use_bzip2           yes
     36use_xz              yes
    3037
    31 checksums           ${canonicalname}-${version}-i386-apple-darwin${extract.suffix} \
    32                         rmd160  232b3aa4ed9e2ff09d520f4ae02fa572a671178a \
    33                         sha256  c1da502fa7d99f3d87370c65d705a7e8ee4c900fdb62df6f71696c5432047059 \
    34                     ${canonicalname}-${version}-x86_64-apple-darwin${extract.suffix} \
    35                         rmd160  b0870a4a292fae7248f9b0be485affa4a5a76a2d \
    36                         sha256  eb0dd19bd5a6eede332d58de219437b9c2b186c72a1fc0c60fa1095b0c2d2789
    37 
    38 post-extract {
    39     # Copy clang-wrapper for re-inplace during configure
    40     xinstall -m 644 ${filespath}/clang-wrapper ${workpath}/clang-wrapper
    41 }
     38checksums           ${canonicalname}-${version}-x86_64-apple-darwin${extract.suffix} \
     39                    rmd160  4f556937880d853448b482bfc7d7f1a6a0dd220f \
     40                    sha256  852781d43d41cd55d02f818fe798bb4d1f7e52f488408167f413f7948cf1e7df
     41
     42#post-extract {
     43#    # Copy clang-wrapper for re-inplace during configure
     44#    xinstall -m 644 ${filespath}/clang-wrapper ${workpath}/clang-wrapper
     45#}
    4246
    4347# Compilation (of the final non-bootstrap GHC, which uses the C compiler
    4448# configured in this port) fails with older versions of clang. clang-4.1 from
     
    5660configure.pre_args  --prefix=${prefix}/share/ghc-bootstrap
    5761configure.args      --with-gcc=${configure.cc}
    5862
    59 pre-configure {
    60     # OK so because this binary has been prebuilt for libraries
    61     # in /usr/lib we search these before macports stuff so (hopefully)
    62     # weird things don't happen
    63     configure.ldflags  -L/usr/lib
    64     configure.cppflags -I/usr/include
    65 
    66     # patch clang-wrapper and make sure it is used by patching settings.in
    67     reinplace "s#@clang@#${configure.cc}#g" ${workpath}/clang-wrapper
    68     reinplace "s#@SettingsCCompilerCommand@#${prefix}/share/ghc-bootstrap/libexec/clang-wrapper#g" ${worksrcpath}/settings.in
    69 }
     63#pre-configure {
     64#    # OK so because this binary has been prebuilt for libraries
     65#    # in /usr/lib we search these before macports stuff so (hopefully)
     66#    # weird things don't happen
     67#    configure.ldflags  -L/usr/lib
     68#    configure.cppflags -I/usr/include
     69#
     70#    # patch clang-wrapper and make sure it is used by patching settings.in
     71#    reinplace "s#@clang@#${configure.cc}#g" ${workpath}/clang-wrapper
     72#    reinplace "s#@SettingsCCompilerCommand@#${prefix}/share/ghc-bootstrap/libexec/clang-wrapper#g" ${worksrcpath}/settings.in
     73#}
    7074
    7175build {}
    7276
    7377post-destroot {
    74     # install clang-wrapper to libexec
    75     xinstall -d -m 755 ${destroot}${prefix}/share/ghc-bootstrap/libexec
    76     xinstall -m 755 ${workpath}/clang-wrapper ${destroot}${prefix}/share/ghc-bootstrap/libexec
    77 
    78     # Delete all .dylib files, because their load commands would have to be
    79     # fixed or rev-upgrade complains and tries to rebuild the port. However, we
    80     # cannot correctly fix all .dylibs, because the have not been built with
    81     # -headerpad_max_install_names. Deleting them fixes the problem and GHC
    82     # still seems to compile correctly.
    83 
    84     # We also delete all the .html files, because we really don't need the
    85     # documentation in a bootstrap port.
    86 
     78    ## install clang-wrapper to libexec
     79    #xinstall -d -m 755 ${destroot}${prefix}/share/ghc-bootstrap/libexec
     80    #xinstall -m 755 ${workpath}/clang-wrapper ${destroot}${prefix}/share/ghc-bootstrap/libexec
     81
     82    # Delete all .dylib files, because some of them reference nonexistant
     83    # libraries (e.g.
     84    #   /opt/local/share/ghc-bootstrap/lib/ghc-7.10.3/Cabal_3ux67khMI118y6VpwrFnXN/libHSCabal-1.22.5.0-3ux67khMI118y6VpwrFnXN-ghc7.10.3.dylib
     85    # references
     86    #   /usr/local/lib/gcc/5/libgcc_s.1.dylib
     87    # which does not exist) and rev-upgrade complains and tries to rebuild the
     88    # port. Deleting them breaks bootstrapping using dynamic libraries in GHC,
     89    # but since the static libraries are still there, that is not a serious
     90    # problem.
     91    set nametool "install_name_tool -change /usr/local/lib/gcc/5/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib"
    8792    fs-traverse f ${destroot}${prefix} {
    8893        if {[file isfile ${f}]} {
    8994            set ext [file extension ${f}]
    90             if {${ext} eq ".html" || ${ext} eq ".dylib"} {
    91                 delete ${f}
     95            if {${ext} eq ".dylib"} {
     96                system "${nametool} ${f}"
    9297            }
    9398        }
    9499    }
     100    fs-traverse f ${destroot}${prefix}/share/ghc-bootstrap/lib/ghc-${version}/bin {
     101        if {[file type $f] eq "file"} {
     102            system "${nametool} ${f}"
     103        }
     104    }
     105
     106    # We also delete $prefix/share/ghc-bootstrap/share/doc, because we
     107    # really don't need the documentation in a bootstrap port.
     108    delete ${destroot}${prefix}/share/ghc-bootstrap/share/doc
    95109}
    96110
    97111livecheck.type      none