Modified: trunk/dports/aqua/TeXShop/Portfile (74190 => 74191)
--- 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
}