[31846] trunk/dports/devel/haddock/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 9 20:13:19 PST 2007


Revision: 31846
          http://trac.macosforge.org/projects/macports/changeset/31846
Author:   ryandesign at macports.org
Date:     2007-12-09 20:13:18 -0800 (Sun, 09 Dec 2007)

Log Message:
-----------
haddock: make sure we use the ghc installed by MacPorts

Modified Paths:
--------------
    trunk/dports/devel/haddock/Portfile

Modified: trunk/dports/devel/haddock/Portfile
===================================================================
--- trunk/dports/devel/haddock/Portfile	2007-12-10 04:12:41 UTC (rev 31845)
+++ trunk/dports/devel/haddock/Portfile	2007-12-10 04:13:18 UTC (rev 31846)
@@ -31,7 +31,7 @@
 
 depends_build	port:ghc
 
-pre-configure   { system "cd ${worksrcpath} && ghc -o Setup Setup.lhs -package Cabal"
+pre-configure   { system "cd ${worksrcpath} && ${prefix}/bin/ghc -o Setup Setup.lhs -package Cabal"
                 }
 
 configure       { system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix} --enable-library-profiling"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071209/31bd302c/attachment.html


More information about the macports-changes mailing list