[74191] trunk/dports/aqua/TeXShop/Portfile

snc at macports.org snc at macports.org
Mon Dec 6 17:26:40 PST 2010


Revision: 74191
          http://trac.macports.org/changeset/74191
Author:   snc at macports.org
Date:     2010-12-06 17:26:34 -0800 (Mon, 06 Dec 2010)
Log Message:
-----------
TeXShop: use correct compiler in 3rd party extensions, #27594

Modified Paths:
--------------
    trunk/dports/aqua/TeXShop/Portfile

Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile	2010-12-07 00:48:24 UTC (rev 74190)
+++ trunk/dports/aqua/TeXShop/Portfile	2010-12-07 01:26:34 UTC (rev 74191)
@@ -30,8 +30,6 @@
 # force 32-bit, ticket #20291
 supported_archs i386 ppc
 post-extract    {
-    reinplace "s/defaultConfigurationName = Debug/defaultConfigurationName = Release/" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
-    
     set sparkle "Sparkle.framework/Versions/A/Sparkle"
     set ogrekit "OgreKit.framework/Versions/A/OgreKit"
     if {![variant_isset universal]} {
@@ -45,7 +43,11 @@
 }
 
 patch {
+    reinplace "s|defaultConfigurationName = Debug|defaultConfigurationName = Release|" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
+    reinplace "s|GCC_VERSION_i386 = 4\.0|GCC_VERSION_i386 = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
+    reinplace "s|GCC_VERSION_ppc = 3\.3|GCC_VERSION_ppc = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
     reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj
+    reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/3rdparty/TeX-mdimporter/TeX.xcodeproj/project.pbxproj
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101206/6a0080f3/attachment-0001.html>


More information about the macports-changes mailing list