[106677] trunk/dports/lang/ghc-bootstrap/Portfile
cal at macports.org
cal at macports.org
Tue Jun 4 16:22:21 PDT 2013
Revision: 106677
https://trac.macports.org/changeset/106677
Author: cal at macports.org
Date: 2013-06-04 16:22:21 -0700 (Tue, 04 Jun 2013)
Log Message:
-----------
ghc-bootstrap: fix rev-upgrade warnings on i386, closes #38998
Modified Paths:
--------------
trunk/dports/lang/ghc-bootstrap/Portfile
Modified: trunk/dports/lang/ghc-bootstrap/Portfile
===================================================================
--- trunk/dports/lang/ghc-bootstrap/Portfile 2013-06-04 21:38:30 UTC (rev 106676)
+++ trunk/dports/lang/ghc-bootstrap/Portfile 2013-06-04 23:22:21 UTC (rev 106677)
@@ -45,4 +45,18 @@
build {}
+post-destroot {
+ # Delete dylibs; they aren't used by the bootstrap ghc and are incorrectly
+ # linked against /usr/local, causing rev-upgrade to complain.
+ # This problem might only be reproducible in i386; the x86_64 version
+ # apparently doesn't ship and dylibs.
+ fs-traverse f ${destroot}${prefix} {
+ if {[file isfile ${f}]} {
+ if {[file extension ${f}] == ".dylib"} {
+ delete ${f}
+ }
+ }
+ }
+}
+
# TODO don't install documentation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130604/c601eca5/attachment.html>
More information about the macports-changes
mailing list