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

jeremyhu at macports.org jeremyhu at macports.org
Thu Jun 23 01:20:15 PDT 2011


Revision: 79678
          http://trac.macports.org/changeset/79678
Author:   jeremyhu at macports.org
Date:     2011-06-23 01:20:14 -0700 (Thu, 23 Jun 2011)
Log Message:
-----------
wine-crossover-games: Use the absolute path for dylib references rather than a relative path

I'm not bumping the revision since this should not have an impact on end users
who use the wine script which sets DYLD_FALLBACK_LIBRARY_PATH.  This change
primarily impacts developers interested in debugging wine by eliminating
an extra hoop to jump through.

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-23 08:13:50 UTC (rev 79677)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2011-06-23 08:20:14 UTC (rev 79678)
@@ -188,10 +188,10 @@
 post-destroot {
     xinstall -d ${destroot}${prefix}/libexec/wine
     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"
+    system "install_name_tool -change @executable_path/../lib/libwine.1.dylib ${prefix}/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}"
+        system "install_name_tool -change @executable_path/../lib/libwine.1.dylib ${prefix}/lib/libwine.1.dylib ${dll}"
     }
 
     xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110623/e4c5693e/attachment-0001.html>


More information about the macports-changes mailing list