Ticket #16349: Portfile-universalarchs.diff
File Portfile-universalarchs.diff, 1.4 KB (added by jewart@…, 15 years ago) |
---|
-
Portfile
30 30 patchfiles patch-Makefile.pre.in.diff \ 31 31 patch-Lib-cgi.py.diff \ 32 32 patch-Lib-distutils-dist.py.diff \ 33 patch-universal_archs.diff \ 33 34 patch-setup.py.diff 34 35 35 36 depends_lib port:gettext port:zlib port:openssl port:tk \ … … 165 166 configure.args-append --disable-toolbox-glue --disable-framework 166 167 configure.cppflags-append -D_DARWIN_C_SOURCE 167 168 patchfiles-append patch-configure-badcflags.diff \ 168 patch-configure-arch_only.diff 169 patch-configure-arch_only.diff 169 170 } 170 171 171 172 platform puredarwin { … … 194 195 } 195 196 196 197 variant universal { 198 197 199 if {[info exists universal_sysroot]} { 198 200 configure.args-append --enable-universalsdk=${universal_sysroot} 199 201 } else { … … 203 205 configure.args-append --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk 204 206 } 205 207 } 208 209 if {[info exists universal_archs]} { 210 configure.args-append --enable-universalarchs=${universal_archs} 211 } else { 212 configure.args-append --enable-universalarchs="i386 ppc" 213 } 206 214 } 207 215 208 216 livecheck.check regex