Ticket #20937: patch
File patch, 1.7 KB (added by royliu@…, 15 years ago) |
---|
-
Portfile
old new 54 54 configure.cppflags 55 55 configure.ldflags 56 56 57 ################################################################################ 58 # We do not want flags of any kind -- QT is smart enough to set up its own. # 59 ################################################################################ 60 61 configure.universal_cflags 62 configure.universal_cppflags 63 configure.universal_cxxflags 64 configure.universal_ldflags 65 57 66 set dirname qt4-mac 58 67 set qt_dir ${prefix}/libexec/${dirname} 59 68 … … 78 87 -system-sqlite \ 79 88 -openssl-linked \ 80 89 -dbus-linked \ 81 -L${prefix}/lib 90 -L${prefix}/lib \ 91 -arch \"${build_arch}\" 82 92 83 93 lappend cpath ${prefix}/include 84 94 lappend library_path ${prefix}/lib … … 114 124 115 125 lappend cpath ${prefix}/include/mysql5/mysql 116 126 lappend library_path ${prefix}/lib/mysql5/mysql 117 127 118 128 configure.args-delete -no-sql-mysql 119 129 } 120 130 … … 224 234 225 235 variant universal { 226 236 configure.universal_args-delete --disable-dependency-tracking 227 foreach arch ${universal_archs} { 228 if { ${arch}=="i386" } { 229 configure.args-append -arch x86 230 } else { 231 configure.args-append -arch ${arch} 232 } 233 } 237 configure.args-delete -arch \"${build_arch}\" 238 configure.args-append -arch \"${universal_archs}\" 234 239 if {[info exists universal_sysroot]} { 235 240 configure.args-append -sdk ${universal_sysroot} 236 241 }