Revision
74185
Author
snc@macports.org
Date
2010-12-06 12:28:38 -0800 (Mon, 06 Dec 2010)

Log Message

TeXShop: tell xcode to use the correct compiler, #27594

Modified Paths

Diff

Modified: trunk/dports/aqua/TeXShop/Portfile (74184 => 74185)


--- trunk/dports/aqua/TeXShop/Portfile	2010-12-06 20:04:14 UTC (rev 74184)
+++ trunk/dports/aqua/TeXShop/Portfile	2010-12-06 20:28:38 UTC (rev 74185)
@@ -44,6 +44,11 @@
     }
 }
 
+patch {
+    reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj
+}
+
+
 build.target    ${name}
 
 xcode.project   ${name}.xcodeproj