[92437] trunk/dports/devel/libunwind-headers/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 28 10:48:58 PDT 2012
Revision: 92437
https://trac.macports.org/changeset/92437
Author: jeremyhu at macports.org
Date: 2012-04-28 10:48:58 -0700 (Sat, 28 Apr 2012)
Log Message:
-----------
libunwind-headers: Further tweaks of our availability rewrite recipe for Tiger
Modified Paths:
--------------
trunk/dports/devel/libunwind-headers/Portfile
Modified: trunk/dports/devel/libunwind-headers/Portfile
===================================================================
--- trunk/dports/devel/libunwind-headers/Portfile 2012-04-28 16:40:51 UTC (rev 92436)
+++ trunk/dports/devel/libunwind-headers/Portfile 2012-04-28 17:48:58 UTC (rev 92437)
@@ -7,7 +7,7 @@
name libunwind-headers
version 30
-revision 3
+revision 4
categories devel
maintainers mfeiri openmaintainer
homepage http://opensource.apple.com/source/libunwind/
@@ -50,8 +50,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/dcbb7009/attachment.html>
More information about the macports-changes
mailing list