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

gwright at macports.org gwright at macports.org
Wed Mar 12 09:41:11 PDT 2008


Revision: 34950
          http://trac.macosforge.org/projects/macports/changeset/34950
Author:   gwright at macports.org
Date:     2008-03-12 09:41:10 -0700 (Wed, 12 Mar 2008)

Log Message:
-----------
Fix reported destroot error caused by not cd'ing to ${worksrcpath}.

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

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2008-03-12 16:20:16 UTC (rev 34949)
+++ trunk/dports/lang/ghc/Portfile	2008-03-12 16:41:10 UTC (rev 34950)
@@ -4,6 +4,7 @@
 
 name		ghc
 version		6.8.2
+revision	1
 categories	lang
 maintainers	gwright at macports.org
 platforms	darwin
@@ -204,8 +205,10 @@
 	system "env DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib ${build.cmd}"
 }
 
+# This should not be necessary, but it seems to work around a bug
+# that exist at least in MP 1.600.
 destroot	{
-	system "${destroot.cmd} ${destroot.target}"
+	system "cd ${worksrcpath} && ${destroot.cmd} ${destroot.target}"
 }
 
 post-destroot	{

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


More information about the macports-changes mailing list