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

jmr at macports.org jmr at macports.org
Fri Apr 29 09:26:15 PDT 2011


Revision: 78235
          http://trac.macports.org/changeset/78235
Author:   jmr at macports.org
Date:     2011-04-29 09:26:14 -0700 (Fri, 29 Apr 2011)
Log Message:
-----------
ghc: add dep on libffi (#23585), change ncursesw dep to ncurses, remove archcheck, remove workaround for MP 1.6

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

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2011-04-29 16:14:08 UTC (rev 78234)
+++ trunk/dports/lang/ghc/Portfile	2011-04-29 16:26:14 UTC (rev 78235)
@@ -1,12 +1,11 @@
 # $Id$
 
 PortSystem	1.0
-PortGroup	archcheck 1.0
 
 name		ghc
 set canonicalname	ghc
 version		6.10.4
-revision	4
+revision	5
 categories	lang haskell
 maintainers	gwright
 platforms	darwin
@@ -65,13 +64,10 @@
 
 depends_build	port:autoconf263
 depends_lib	port:gmp	\
-		port:ncursesw	\
-		port:libiconv
+		port:ncurses	\
+		port:libiconv	\
+		port:libffi
 
-archcheck.files	lib/libgmp.dylib	\
-		lib/libiconv.dylib	\
-		lib/libncursesw.dylib
-
 variant maintainer_debug requires cabal_configure_debug description {Verbose logging and save all temporary files} { }
 
 variant cabal_configure_debug description {Add verbose debugging to cabal configure commands} {
@@ -434,15 +430,9 @@
 				--target=x86_64-apple-darwin
 }
 
-build	{
-	system "cd ${worksrcpath} && env DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib ${build.cmd}"
-}
+build.env DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib
 
-# This should not be necessary, but it seems to work around a bug
-# that exists at least in MP 1.600.
-destroot	{
-	system "cd ${worksrcpath} && ${destroot.cmd} ${destroot.target}"
-}
+destroot.destdir
 
 # Note that we catch the results of the tests, since usually at least
 # one of the tests unexpectedly fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110429/7b4511cc/attachment.html>


More information about the macports-changes mailing list