[89263] trunk/dports/audio/liblastfm/Portfile
michaelld at macports.org
michaelld at macports.org
Sun Jan 22 11:38:48 PST 2012
Revision: 89263
http://trac.macports.org/changeset/89263
Author: michaelld at macports.org
Date: 2012-01-22 11:38:45 -0800 (Sun, 22 Jan 2012)
Log Message:
-----------
liblastfm: Add post-destroot to fix self-id of installed libraries.
Modified Paths:
--------------
trunk/dports/audio/liblastfm/Portfile
Modified: trunk/dports/audio/liblastfm/Portfile
===================================================================
--- trunk/dports/audio/liblastfm/Portfile 2012-01-22 17:32:13 UTC (rev 89262)
+++ trunk/dports/audio/liblastfm/Portfile 2012-01-22 19:38:45 UTC (rev 89263)
@@ -86,6 +86,12 @@
}
}
+post-destroot {
+ # fix DYLD self-id for both libraries
+ system "install_name_tool -id ${prefix}/lib/liblastfm.0.dylib ${destroot}${prefix}/lib/liblastfm.0.3.3.dylib"
+ system "install_name_tool -id ${prefix}/lib/liblastfm_fingerprint.0.dylib ${destroot}${prefix}/lib/liblastfm_fingerprint.0.3.3.dylib"
+}
+
livecheck.type regex
livecheck.url https://github.com/mxcl/liblastfm/tags
livecheck.regex {tarball/([0-9.]+)"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120122/0ac118ab/attachment-0001.html>
More information about the macports-changes
mailing list