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

jeremyhu at macports.org jeremyhu at macports.org
Sat Apr 28 10:50:05 PDT 2012


Revision: 92438
          https://trac.macports.org/changeset/92438
Author:   jeremyhu at macports.org
Date:     2012-04-28 10:50:05 -0700 (Sat, 28 Apr 2012)
Log Message:
-----------
dyld-headers: Further tweaks of our availability rewrite recipe for Tiger

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

Modified: trunk/dports/devel/dyld-headers/Portfile
===================================================================
--- trunk/dports/devel/dyld-headers/Portfile	2012-04-28 17:48:58 UTC (rev 92437)
+++ trunk/dports/devel/dyld-headers/Portfile	2012-04-28 17:50:05 UTC (rev 92438)
@@ -42,8 +42,8 @@
             reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER|__attribute__((unavailable))|g" ${header}
 
             reinplace "s|Availability.h|AvailabilityMacros.h|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_STARTING(__MAC_NA)|__attribute__((unavailable))|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA)|__attribute__((unavailable))|g" ${header}
+            reinplace "s|__OSX_AVAILABLE_STARTING(__MAC_NA,.*)|__attribute__((unavailable))|g" ${header}
+            reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,.*)|__attribute__((unavailable))|g" ${header}
             reinplace "s|__OSX_AVAILABLE_STARTING(__MAC_10_\\(\[^,\]*\\),.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|g" ${header}
             reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_\\(\[^,\]*\\),__MAC_NA,.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|g" ${header}
             reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_\\(\[^,\]*\\),__MAC_10_\\(\[^,\]*\\),.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_\\2|g" ${header}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120428/694cbc6b/attachment.html>


More information about the macports-changes mailing list