[42291] trunk/dports/lang/ghc/Portfile

gwright at macports.org gwright at macports.org
Tue Nov 18 05:44:06 PST 2008


Revision: 42291
          http://trac.macports.org/changeset/42291
Author:   gwright at macports.org
Date:     2008-11-18 05:44:05 -0800 (Tue, 18 Nov 2008)
Log Message:
-----------
Add flags to the hsc2hs script to pick up the include and link
paths.

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

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2008-11-18 13:32:36 UTC (rev 42290)
+++ trunk/dports/lang/ghc/Portfile	2008-11-18 13:44:05 UTC (rev 42291)
@@ -4,7 +4,7 @@
 
 name		ghc
 version		6.10.1
-revision	2
+revision	3
 categories	lang haskell
 maintainers	gwright
 platforms	darwin
@@ -188,7 +188,7 @@
 		puts $cfg "        --)           break;;"
 		puts $cfg "    esac"
 		puts $cfg "done"
-		puts $cfg "exec \$HSC2HSBIN \$tflag \$HSC2HS_EXTRA \${1+\"\$@\"}"
+		puts $cfg "exec \$HSC2HSBIN \$tflag \$HSC2HS_EXTRA -I${prefix}/include --lflag=\"-L${prefix}/lib\" \${1+\"\$@\"}"
 		close $cfg
 
 		system "chmod +x ${workpath}/ghc-bootstrap/bin/hsc2hs"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081118/65f3d042/attachment.html>


More information about the macports-changes mailing list