[125055] trunk/dports/lang/ocaml/Portfile

mww at macports.org mww at macports.org
Wed Sep 3 12:02:41 PDT 2014


Revision: 125055
          https://trac.macports.org/changeset/125055
Author:   mww at macports.org
Date:     2014-09-03 12:02:40 -0700 (Wed, 03 Sep 2014)
Log Message:
-----------
ocaml: version 4.02.0

Modified Paths:
--------------
    trunk/dports/lang/ocaml/Portfile

Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile	2014-09-03 18:41:47 UTC (rev 125054)
+++ trunk/dports/lang/ocaml/Portfile	2014-09-03 19:02:40 UTC (rev 125055)
@@ -4,8 +4,8 @@
 
 name                ocaml
 epoch               1
-version             4.01.0
-revision            1
+version             4.02.0
+revision            0
 # When updating ocaml, also update camlp5 to a compatible version (c.f. #26769, #20219, #18292)
 set major_vers      [join [lrange [split ${version} .] 0 1] .]
 platforms           darwin
@@ -14,17 +14,16 @@
 description         Objective Caml is an implementation of the ML language
 license             {QPL LGPL}
 homepage            http://www.ocaml.org/
-master_sites        http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/ \
-                    ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-${major_vers}
-checksums           rmd160  eedf28f446489c6b2c1f82782f5ee852293fc0b7 \
-                    sha256  b1ca708994180236917ae79e17606da5bd334ca6acd6873a550027e1c0ec874a
+master_sites        http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/
+checksums           rmd160  1ed3f7e47d63df27da0edeafa014f167cf3b1b8e \
+                    sha256  87d7a59e90659bea57ae25659bbd25d56fe09e93465f2a11b610f3f537ca85d6
 
 long_description \
             Objective Caml is an implementation of the ML language, based on \
             the Caml Light dialect extended with a complete class-based object \
             system    and a powerful module system in the style of Standard ML.
 
-use_bzip2           yes
+use_xz              yes
 
 depends_lib         port:ncurses
 
@@ -33,14 +32,9 @@
 
 set docdir          ${prefix}/share/doc/${name}
 
-if {[string match "*clang*" ${configure.compiler}]} {
-  # remove '-no-defer-pop' for clang -- it "circumvents a bug in certain versions of gcc" only anyway
-  patchfiles-append patch-configure.diff
-}
-
 # Configure.
 configure.pre_args  -prefix ${prefix}
-configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" \
+configure.args      -cc ${configure.cc} -aspp \"${configure.cc} -c\" \
                     -x11include \"${prefix}/include\" -x11lib \"${prefix}/lib\"
 
 # Building.
@@ -65,11 +59,6 @@
     configure.env-append CC="gcc -pg"
 }
 
-variant labltk description {Include TK bindings and ocamlbrowser} {
-    depends_lib-append    port:xorg-libX11 port:tcl port:tk
-    configure.args-delete -no-tk
-}
-
 livecheck.type      regex
 livecheck.url       http://caml.inria.fr/download.en.html
 livecheck.regex     "ocaml-\[0-9\.]+/ocaml-(\[0-9\.\]+).tar"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140903/1911a19d/attachment.html>


More information about the macports-changes mailing list