[91300] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Mar 28 10:23:44 PDT 2012
Revision: 91300
https://trac.macports.org/changeset/91300
Author: jeremyhu at macports.org
Date: 2012-03-28 10:23:43 -0700 (Wed, 28 Mar 2012)
Log Message:
-----------
ld64: Future proofing, maintainer ack
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2012-03-28 17:16:38 UTC (rev 91299)
+++ trunk/dports/devel/ld64/Portfile 2012-03-28 17:23:43 UTC (rev 91300)
@@ -5,9 +5,12 @@
PortGroup xcodeversion 1.0
minimum_xcodeversions {10 3.2.3}
+# cctools uses a static library from this port when it builds, please
+# revbump cctools whenever this port updates
+
name ld64
version 128.2
-revision 1
+revision 2
set llvm_version 3.0
categories devel
maintainers mfeiri
@@ -56,6 +59,10 @@
post-destroot {
system "install_name_tool -change ${prefix}/libexec/llvm-${llvm_version}/lib/libLTO.dylib \
@executable_path/../lib/libLTO.dylib ${destroot}${prefix}/bin/ld"
+
+ if {${os.major} >= 10} {
+ file rename ${destroot}${prefix}/bin/libprunetrie.a ${destroot}${prefix}/lib/libprunetrie.a
+ }
}
@@ -88,17 +95,7 @@
revision 3
checksums rmd160 8ee709341549a1944732daef6ebab7ef1acfcc6e \
sha256 97b75547b2bd761306ab3e15ae297f01e7ab9760b922bc657f4ef72e4e052142
- post-destroot {
- file rename ${destroot}${prefix}/bin/libprunetrie.a ${destroot}${prefix}/lib/libprunetrie.a
- }
}
-platform darwin 11 {
- post-destroot {
- file rename ${destroot}${prefix}/bin/libprunetrie.a ${destroot}${prefix}/lib/libprunetrie.a
- }
-}
-
-
livecheck.type regex
livecheck.regex "${name}-(\[\\d.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120328/465f0406/attachment.html>
More information about the macports-changes
mailing list