[113153] trunk/dports/devel/dyld-headers/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Nov 10 17:08:13 PST 2013


Revision: 113153
          https://trac.macports.org/changeset/113153
Author:   jeremyhu at macports.org
Date:     2013-11-10 17:08:13 -0800 (Sun, 10 Nov 2013)
Log Message:
-----------
dyld-headers: Update to 239.3

Modified Paths:
--------------
    trunk/dports/devel/dyld-headers/Portfile

Modified: trunk/dports/devel/dyld-headers/Portfile
===================================================================
--- trunk/dports/devel/dyld-headers/Portfile	2013-11-11 01:04:28 UTC (rev 113152)
+++ trunk/dports/devel/dyld-headers/Portfile	2013-11-11 01:08:13 UTC (rev 113153)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    dyld-headers
-version                 210.2.3
+version                 239.3
 categories              devel
 maintainers             jeremyhu openmaintainer
 homepage                http://opensource.apple.com/source/dyld/
@@ -15,9 +15,9 @@
                         linking and loading facilities in Mac OS X and Darwin
 
 distname                dyld-${version}
-checksums               sha1    fd1c6b6e08d0bb8a4682ffb705f5921d10bdbd64 \
-                        rmd160  194df0cfdbf7ed13d2304c2614a905b8581fffe1 \
-                        sha256  12865e52cd0ad348a4061040f36d6c7e1203e5dc0c95c8d4108c1193fd3b700e
+checksums               sha1    f87003f34b4acf822e3c945ec8730035c603b647 \
+                        rmd160  67d647a0500869f248ae6a3c02712e52ca581120 \
+                        sha256  ceaff156a0d61ceb2f155a5d93651045481b28d4ff8a92208922cf88a53aa413
 
 post-patch {
     reinplace "s|/usr/local|${prefix}|g" \
@@ -26,6 +26,11 @@
             ${worksrcpath}/dyld.xcodeproj/project.pbxproj
 
     foreach header [glob ${worksrcpath}/include/{,*/}*.h] {
+        if {${os.major} < 13} {
+            reinplace "s|__MAC_10_9|__MAC_NA|g" ${header}
+            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
+            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER|__attribute__((unavailable))|g" ${header}
+        }
         if {${os.major} < 12} {
             reinplace "s|__MAC_10_8|__MAC_NA|g" ${header}
             reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131110/ee37e712/attachment.html>


More information about the macports-changes mailing list