[92207] trunk/dports/devel/libunwind-headers/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Apr 21 16:33:13 PDT 2012


Revision: 92207
          https://trac.macports.org/changeset/92207
Author:   jeremyhu at macports.org
Date:     2012-04-21 16:33:13 -0700 (Sat, 21 Apr 2012)
Log Message:
-----------
libunwind-headers: Also adjust register field names on Tiger

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

Modified: trunk/dports/devel/libunwind-headers/Portfile
===================================================================
--- trunk/dports/devel/libunwind-headers/Portfile	2012-04-21 23:32:27 UTC (rev 92206)
+++ trunk/dports/devel/libunwind-headers/Portfile	2012-04-21 23:33:13 UTC (rev 92207)
@@ -7,7 +7,7 @@
 
 name                    libunwind-headers
 version                 30
-revision                1
+revision                2
 categories              devel
 maintainers             mfeiri openmaintainer
 homepage                http://opensource.apple.com/source/libunwind/
@@ -57,6 +57,12 @@
             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}
         }
     }
+
+    if {${os.major} < 9} {
+        foreach reg {cr ctr eax ebp ebx ecx edi edx eip esi esp lr mq r0 r1 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r2 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r3 r30 r31 r4 r5 r6 r7 r8 r9 rax rbp rbx rcx rdi rdx rip rsi rsp srr0 srr1 vrsave xer} {
+            reinplace "s|__${reg}|${reg}|g" ${worksrcpath}/src/Registers.hpp
+        }
+    }
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120421/1652c4b7/attachment.html>


More information about the macports-changes mailing list