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

jmr at macports.org jmr at macports.org
Tue Mar 20 05:15:59 PDT 2012


Revision: 90967
          https://trac.macports.org/changeset/90967
Author:   jmr at macports.org
Date:     2012-03-20 05:15:58 -0700 (Tue, 20 Mar 2012)
Log Message:
-----------
ocaml: depend on macports libX11 for the graphics module

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

Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile	2012-03-20 11:24:40 UTC (rev 90966)
+++ trunk/dports/lang/ocaml/Portfile	2012-03-20 12:15:58 UTC (rev 90967)
@@ -4,7 +4,7 @@
 
 name                ocaml
 version             3.12.1
-revision            4
+revision            5
 # 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
@@ -26,7 +26,7 @@
 
 use_bzip2           yes
 
-depends_lib         port:ncurses
+depends_lib         port:ncurses port:xorg-libX11
 
 patchfiles          patch-otherlibs-bigarray.diff
 
@@ -37,7 +37,8 @@
 
 # Configure.
 configure.pre_args  -prefix ${prefix}
-configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\"
+configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" \
+                    -x11include \"${prefix}/include\" -x11lib \"${prefix}/lib\"
 
 # Building.
 build.target        world.opt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120320/2b73002f/attachment.html>


More information about the macports-changes mailing list