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

gwright at macports.org gwright at macports.org
Sun Jul 12 23:09:19 PDT 2009


Revision: 53745
          http://trac.macports.org/changeset/53745
Author:   gwright at macports.org
Date:     2009-07-12 23:09:19 -0700 (Sun, 12 Jul 2009)
Log Message:
-----------
Fix #19736.  Rename ghc's private copy of libffi to libHsLocalFfi to avoid a name clash.

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

Modified: trunk/dports/lang/ghc/Portfile
===================================================================
--- trunk/dports/lang/ghc/Portfile	2009-07-13 06:07:45 UTC (rev 53744)
+++ trunk/dports/lang/ghc/Portfile	2009-07-13 06:09:19 UTC (rev 53745)
@@ -5,7 +5,7 @@
 name		ghc
 set canonicalname	ghc
 version		6.10.3
-revision	5
+revision	6
 categories	lang haskell
 maintainers	gwright
 platforms	darwin
@@ -329,6 +329,9 @@
 	reinplace "s|\\\$@\"\}|\\\$@\"\} -L${prefix}/lib -I${prefix}/include |" ${destroot}${prefix}/bin/ghc
 	reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/lib/${canonicalname}-${version}/package.conf
 
+	file rename ${destroot}${prefix}/lib/${canonicalname}-${version}/libffi.a ${destroot}${prefix}/lib/${canonicalname}-${version}/libHsLocalFfi.a
+	reinplace s|"ffi"|"HsLocalFfi"| ${destroot}${prefix}/lib/${canonicalname}-${version}/package.conf
+
 	file rename ${destroot}${prefix}/bin/haddock ${destroot}${prefix}/bin/haddock-${canonicalname}
 
         system "ranlib ${destroot}${prefix}/lib/ghc-${version}/*.a"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090712/f446ec74/attachment.html>


More information about the macports-changes mailing list