[100403] trunk/dports/_resources/port1.0/group/haskell-1.0.tcl

cal at macports.org cal at macports.org
Mon Dec 10 15:57:14 PST 2012


Revision: 100403
          https://trac.macports.org/changeset/100403
Author:   cal at macports.org
Date:     2012-12-10 15:57:14 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
haskell portgroup: add some settings found in most (all?) ports using the group

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/haskell-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/haskell-1.0.tcl	2012-12-10 22:53:09 UTC (rev 100402)
+++ trunk/dports/_resources/port1.0/group/haskell-1.0.tcl	2012-12-10 23:57:14 UTC (rev 100403)
@@ -53,7 +53,7 @@
 proc haskell.setup {package version {compiler ghc}} {
     global haskell.compiler_list
     global haskell.compiler_configuration
-    global homepage prefix configure.cmd destroot worksrcpath name master_sites
+    global homepage prefix configure.cmd destroot worksrcpath name master_sites configure.cc
 
     if {![info exists haskell.compiler_configuration($compiler)]} {
         return -code error "Compiler ${compiler} not currently supported"
@@ -68,9 +68,14 @@
     depends_lib         port:${compiler_config(port)}
     configure.cmd       runhaskell
     configure.pre_args
-    configure.args      Setup configure --prefix=${prefix} --with-compiler=[subst ${compiler_config(compiler)}]
+    configure.args      Setup configure \
+                        --prefix=${prefix} \
+                        --with-compiler=[subst ${compiler_config(compiler)}] \
+                        -v \
+                        --enable-library-profiling \
+                        --with-gcc=${configure.cc}
     build.cmd           ${configure.cmd}
-    build.args          Setup build
+    build.args          Setup build -v
     build.target
     destroot.cmd        ${configure.cmd}
     destroot.destdir
@@ -92,5 +97,7 @@
     livecheck.type      regex
     livecheck.url       http://hackage.haskell.org/cgi-bin/hackage-scripts/package/${package}
     livecheck.regex     /packages/archive/${package}/.*/${package}-(.*)\.tar\.gz
+
+    universal_variant   no
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121210/1145beb4/attachment.html>


More information about the macports-changes mailing list