[72078] trunk/dports/lang/ocaml/Portfile
erickt at macports.org
erickt at macports.org
Sat Oct 2 09:48:39 PDT 2010
Revision: 72078
http://trac.macports.org/changeset/72078
Author: erickt at macports.org
Date: 2010-10-02 09:48:37 -0700 (Sat, 02 Oct 2010)
Log Message:
-----------
Allow ocaml profiling
Modified Paths:
--------------
trunk/dports/lang/ocaml/Portfile
Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile 2010-10-02 16:48:33 UTC (rev 72077)
+++ trunk/dports/lang/ocaml/Portfile 2010-10-02 16:48:37 UTC (rev 72078)
@@ -49,6 +49,10 @@
}
# Variants.
+variant profile description {Enable profiling} {
+ configure.env-append CC="gcc -pg"
+}
+
variant labltk description {Include TK bindings and ocamlbrowser} {
depends_lib lib:tcl8.4:tcl lib:tk8.4:tk
configure.args-delete -no-tk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101002/75b47ceb/attachment.html>
More information about the macports-changes
mailing list