[102062] trunk/dports/devel/gdb-apple/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Jan 26 09:55:52 PST 2013


Revision: 102062
          https://trac.macports.org/changeset/102062
Author:   jeremyhu at macports.org
Date:     2013-01-26 09:55:52 -0800 (Sat, 26 Jan 2013)
Log Message:
-----------
gdb-apple: Fix build on systems older than Lion (#37790)

Modified Paths:
--------------
    trunk/dports/devel/gdb-apple/Portfile

Modified: trunk/dports/devel/gdb-apple/Portfile
===================================================================
--- trunk/dports/devel/gdb-apple/Portfile	2013-01-26 17:31:41 UTC (rev 102061)
+++ trunk/dports/devel/gdb-apple/Portfile	2013-01-26 17:55:52 UTC (rev 102062)
@@ -43,6 +43,14 @@
 
 worksrcdir	${worksrcdir}/src
 
+post-patch {
+    # https://trac.macports.org/ticket/37790
+    reinplace "s/-mmacosx-version-min=10.7//" \
+        ${worksrcpath}/gdb/config/i386/macosx.mh \
+        ${worksrcpath}/libiberty/config/mh-macosx \
+        ${worksrcpath}/bfd/configure.host
+}
+
 configure.args \
     --infodir=${prefix}/share/info \
     --mandir=${prefix}/share/man \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130126/f8968ad0/attachment-0001.html>


More information about the macports-changes mailing list