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

jeremyhu at macports.org jeremyhu at macports.org
Mon Apr 23 17:34:55 PDT 2012


Revision: 92287
          https://trac.macports.org/changeset/92287
Author:   jeremyhu at macports.org
Date:     2012-04-23 17:34:55 -0700 (Mon, 23 Apr 2012)
Log Message:
-----------
ld64: Fix cases where -I${prefix}/include aren't landing in CFLAGS (#34176)

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

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2012-04-24 00:05:06 UTC (rev 92286)
+++ trunk/dports/devel/ld64/Portfile	2012-04-24 00:34:55 UTC (rev 92287)
@@ -115,9 +115,9 @@
             ${worksrcpath}/ld64.xcodeproj/project.pbxproj
     }
 
-    reinplace "s|MACPORTS_CFLAGS|${extra_flags}|g" \
+    reinplace "s|MACPORTS_CFLAGS|-I${prefix}/include ${extra_flags}|g" \
         ${worksrcpath}/ld64.xcodeproj/project.pbxproj
-    reinplace "s|MACPORTS_CPLUSPLUSFLAGS|${extra_flags}|g" \
+    reinplace "s|MACPORTS_CPLUSPLUSFLAGS|-I${prefix}/include ${extra_flags}|g" \
         ${worksrcpath}/ld64.xcodeproj/project.pbxproj
 
     reinplace "s|/usr/share/man/man1|${prefix}/share/man/man1|g" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120423/c704fa7a/attachment.html>


More information about the macports-changes mailing list