Ticket #68302: Portfile.diff

File Portfile.diff, 2.2 KB (added by ajdudman, 7 months ago)
  • Portfile

    old new  
    8484                    sha256  b0f92579288adf2320206627248d80d2abfe0e1b9ad2a22cf8f889bbe6806448 \
    8585                    size    7072964 \
    8686                    ]
     87set ghc_patch_checksums [list \
     88                    fdb30b7ed688af598547ffd8a7b679a2af0a2c38.diff \
     89                    rmd160  db70599addc21ad74a128c170e1964007900f791 \
     90                    sha256  54cdde1ca5d1b6fe3bbad8d0eac2b8c112ca1f346c4086d1e7361fa9510f1f44 \
     91                    size    872328 \
     92                    ]
    8793
    8894# https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb202264020068bfb
    8995set gpg_keyid       33C3A599DB85EA9B8BAA1866B202264020068BFB
     
    106112                    ${worksrcpath}/docs/index.html
    107113    }
    108114
     115    patch.pre_args  -p1
     116    patch.args      -b -z .orig
     117    # Update rdt-theme to latest upstream version
     118    # https://gitlab.haskell.org/ghc/ghc/-/commit/fdb30b7ed688af598547ffd8a7b679a2af0a2c38.diff
     119    patch_sites     https://gitlab.haskell.org/ghc/ghc/-/commit/
     120    patchfiles      fdb30b7ed688af598547ffd8a7b679a2af0a2c38.diff
     121
     122
    109123    # https://trac.macports.org/ticket/65899
    110124    # https://trac.macports.org/wiki/UsingTheRightCompiler#testing
    111125    foreach phase {build destroot test} {
     
    143157    distfiles       [lindex ${ghc_source_checksums} 0] \
    144158                    [lindex ${ghc_testsuite_checksums} 0]
    145159    checksums       {*}${ghc_source_checksums} \
    146                     {*}${ghc_testsuite_checksums}
     160                    {*}${ghc_testsuite_checksums} \
     161                    {*}${ghc_patch_checksums}
    147162    extract.only    [lindex ${ghc_source_checksums} 0] \
    148163                    [lindex ${ghc_testsuite_checksums} 0]
    149164
     
    316331
    317332    # livecheck broken on downloads.haskell.org
    318333    # See: https://lists.macports.org/pipermail/macports-dev/2019-December/041581.html
    319     #livecheck.type      regex
    320     #livecheck.url       https://downloads.haskell.org/~${name}
    321     #livecheck.regex     (\\d+(?:\\.\\d+){1,3})
     334    livecheck.type      regex
     335    livecheck.url       https://downloads.haskell.org/~${name}
     336    livecheck.regex     (\\d+(?:\\.\\d+){1,3})
    322337}
    323338
    324339subport ghc-prebuilt {