[79643] trunk/dports/x11/wine-crossover-games/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jun 21 22:56:37 PDT 2011


Revision: 79643
          http://trac.macports.org/changeset/79643
Author:   jeremyhu at macports.org
Date:     2011-06-21 22:56:36 -0700 (Tue, 21 Jun 2011)
Log Message:
-----------
wine-crossover-games: Also fix linking of dll.sos

Modified Paths:
--------------
    trunk/dports/x11/wine-crossover-games/Portfile

Modified: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile	2011-06-22 03:35:51 UTC (rev 79642)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2011-06-22 05:56:36 UTC (rev 79643)
@@ -190,6 +190,10 @@
     file rename ${destroot}${prefix}/bin/wineloader ${destroot}${prefix}/libexec/wine/wine
     system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @executable_path/../../lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine"
 
+    foreach dll [glob ${destroot}${prefix}/lib/wine/*.so] {
+        system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @loader_path/../libwine.1.dylib ${dll}"
+    }
+
     xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine
     reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110621/07cd3a2e/attachment.html>


More information about the macports-changes mailing list