Ticket #52844: ocaml.patch

File ocaml.patch, 1.4 KB (added by pmetzger (Perry E. Metzger), 7 years ago)
  • Portfile

    old new  
    33PortSystem        1.0
    44
    55name                ocaml
    6 epoch               1
    7 version             4.02.2
    8 revision            1
     6version             4.04.0
    97# When updating ocaml, also update ocaml-camlp4 and camlp5 to compatible versions
    108# (c.f. #26769, #20219, #18292) or increase their revisions to rebuild them.
    119set major_vers      [join [lrange [split ${version} .] 0 1] .]
     
    1614license             {QPL LGPL}
    1715homepage            http://www.ocaml.org/
    1816master_sites        http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/
    19 checksums           rmd160  f00ac72bd5a96b28a2ba6dca6b0f9c8c971d9497 \
    20                     sha256  60f923988ab7ae023a0799f9699d7d7a476bf8207ee2c900f92c8288ea363085
     17checksums           rmd160  ff04082b95fbc0a4397ad20a50d80c5cd77418ec \
     18                    sha256  64ed6dad2316d5dff7440cea89f0f0abe07ce508b9104d1bfadf3782e79856b4
    2119
    2220long_description \
    2321            Objective Caml is an implementation of the ML language, based on \
     
    5149    # Change "ld.conf" to remove ${destroot} in paths.
    5250    reinplace "s:${destroot}::g" ${destroot}${prefix}/lib/ocaml/ld.conf
    5351    xinstall -d ${destroot}${docdir}
    54     xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README ${destroot}${docdir}
     52    xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README.adoc ${destroot}${docdir}
    5553}
    5654
    5755# Variants.