Changeset 113404


Ignore:
Timestamp:
Nov 15, 2013, 4:07:18 PM (6 years ago)
Author:
cal@…
Message:

ghc: fix build on Mavericks, closes #40950

Location:
trunk/dports/lang
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/ghc-bootstrap/Portfile

    r110612 r113404  
    77set canonicalname   ghc
    88version             7.0.4
     9revision            1
    910categories          lang haskell
    1011maintainers         gmail.com:kitchen.andy cal openmaintainer
     
    3233                        rmd160  14f4c6a044eaa3d04f1645324f9255eebff9a49d \
    3334                        sha256  74580b919b5205007901d15da88635e4b2dcc887086fb16d238eeb7011a255d4
     35
     36# -- BEGIN gcc variants
     37
     38variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.3} {
     39    configure.compiler      macports-gcc-4.3
     40}
     41
     42variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.4} {
     43    configure.compiler      macports-gcc-4.4
     44}
     45
     46variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.5} {
     47    configure.compiler      macports-gcc-4.5
     48}
     49
     50variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 description {Compile with gcc 4.6} {
     51    configure.compiler      macports-gcc-4.6
     52}
     53
     54variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 description {Compile with gcc 4.7} {
     55    configure.compiler      macports-gcc-4.7
     56}
     57
     58variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 description {Compile with gcc 4.8} {
     59    configure.compiler      macports-gcc-4.8
     60}
     61
     62variant gcc49 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 description {Compile with gcc 4.9} {
     63    configure.compiler      macports-gcc-4.9
     64}
     65
     66if {![variant_isset gcc43] && ![variant_isset gcc44] &&
     67    ![variant_isset gcc45] && ![variant_isset gcc46] &&
     68    ![variant_isset gcc47] && ![variant_isset gcc49]} {
     69    default_variants +gcc48
     70}
     71
     72# -- END gcc variants
    3473
    3574configure.pre_args  --prefix=${prefix}/share/ghc-bootstrap
  • trunk/dports/lang/ghc/Portfile

    r111081 r113404  
    33
    44PortSystem          1.0
     5PortGroup           active_variants 1.1
    56
    67name                ghc
     
    5354                port:libiconv
    5455
    55 patchfiles      patch-configure-disable-docbook-ps-and-pdf.diff
     56patchfiles      patch-configure-disable-docbook-ps-and-pdf.diff \
     57                patch-utils__mkdirhier__mkdirhier.sh.diff \
     58                patch-includes_HsFFI.h.diff
    5659
    5760
     
    6568    configure.compiler      macports-gcc-4.3
    6669    configure.args-append   --with-gcc=${configure.cc}
     70    require_active_variants ghc-bootstrap gcc43
    6771}
    6872
     
    7074    configure.compiler      macports-gcc-4.4
    7175    configure.args-append   --with-gcc=${configure.cc}
     76    require_active_variants ghc-bootstrap gcc44
    7277}
    7378
     
    7580    configure.compiler      macports-gcc-4.5
    7681    configure.args-append   --with-gcc=${configure.cc}
     82    require_active_variants ghc-bootstrap gcc45
    7783}
    7884
     
    8086    configure.compiler      macports-gcc-4.6
    8187    configure.args-append   --with-gcc=${configure.cc}
     88    require_active_variants ghc-bootstrap gcc46
    8289}
    8390
     
    8592    configure.compiler      macports-gcc-4.7
    8693    configure.args-append   --with-gcc=${configure.cc}
     94    require_active_variants ghc-bootstrap gcc47
    8795}
    8896
     
    9098    configure.compiler      macports-gcc-4.8
    9199    configure.args-append   --with-gcc=${configure.cc}
     100    require_active_variants ghc-bootstrap gcc48
    92101}
    93102
     
    95104    configure.compiler      macports-gcc-4.9
    96105    configure.args-append   --with-gcc=${configure.cc}
     106    require_active_variants ghc-bootstrap gcc49
    97107}
    98108
Note: See TracChangeset for help on using the changeset viewer.