[97475] trunk/dports/devel/dyld-headers/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Sep 7 00:54:45 PDT 2012
Revision: 97475
https://trac.macports.org/changeset/97475
Author: jeremyhu at macports.org
Date: 2012-09-07 00:54:45 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
dyld-headers: Bump to 210.2.3
Modified Paths:
--------------
trunk/dports/devel/dyld-headers/Portfile
Modified: trunk/dports/devel/dyld-headers/Portfile
===================================================================
--- trunk/dports/devel/dyld-headers/Portfile 2012-09-07 07:51:47 UTC (rev 97474)
+++ trunk/dports/devel/dyld-headers/Portfile 2012-09-07 07:54:45 UTC (rev 97475)
@@ -3,8 +3,7 @@
PortSystem 1.0
name dyld-headers
-version 195.6
-revision 1
+version 210.2.3
categories devel
maintainers mfeiri jeremyhu openmaintainer
homepage http://opensource.apple.com/source/dyld/
@@ -16,8 +15,9 @@
linking and loading facilities in Mac OS X and Darwin
distname dyld-${version}
-checksums rmd160 440c49f641e45a7bce459aaea2c4fe0dd0385351 \
- sha256 69296e9b4192bdac778ea899fffc18b02be62b51b5e8474b4cf85ae5f2b08aa4
+checksums sha1 fd1c6b6e08d0bb8a4682ffb705f5921d10bdbd64 \
+ rmd160 194df0cfdbf7ed13d2304c2614a905b8581fffe1 \
+ sha256 12865e52cd0ad348a4061040f36d6c7e1203e5dc0c95c8d4108c1193fd3b700e
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} < 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}
+ reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER|__attribute__((unavailable))|g" ${header}
+ }
if {${os.major} < 11} {
reinplace "s|__MAC_10_7|__MAC_NA|g" ${header}
reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7|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/20120907/33343149/attachment.html>
More information about the macports-changes
mailing list