[131698] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 15 15:26:11 PST 2015


Revision: 131698
          https://trac.macports.org/changeset/131698
Author:   jeremyhu at macports.org
Date:     2015-01-15 15:26:11 -0800 (Thu, 15 Jan 2015)
Log Message:
-----------
ld64: Tiger build fix (#46547)

Modified Paths:
--------------
    trunk/dports/devel/ld64/Portfile

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2015-01-15 21:17:05 UTC (rev 131697)
+++ trunk/dports/devel/ld64/Portfile	2015-01-15 23:26:11 UTC (rev 131698)
@@ -131,6 +131,10 @@
     post-patch {
         reinplace "s:-Wl,-exported_symbol,__mh_execute_header::g" \
             ${worksrcpath}/Makefile
+
+        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/ld/parsers/libunwind/Registers.hpp
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150115/786c909b/attachment.html>


More information about the macports-changes mailing list