Ticket #44086: py-sip_Portfile.diff
File py-sip_Portfile.diff, 1.3 KB (added by michaelld (Michael Dickens), 10 years ago) |
---|
-
Portfile
85 85 --incdir=${python.include} \ 86 86 --sipdir=${prefix}/share/${subport} 87 87 88 configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib" 88 # always add some arch flags, since the user might have overridden 89 # the default arch build (e.g., ticket #44086). 89 90 90 91 python.add_archflags no 91 92 if {[variant_isset universal]} { 93 92 94 foreach arch ${configure.universal_archs} { 93 95 configure.args-append "--arch=${arch}" 94 96 } … … 97 99 ${configure.universal_ldflags}" 98 100 configure.post_args-append CFLAGS="${configure.universal_cflags}" 99 101 configure.post_args-append CXXFLAGS="${configure.universal_cxxflags}" 102 103 } else { 104 105 configure.args-append "--arch=${configure.build_arch}" 106 configure.post_args LFLAGS="-F${frameworks_dir} -L${prefix}/lib \ 107 ${configure.ld_archflags}" 108 configure.post_args-append CFLAGS="${configure.cc_archflags}" 109 configure.post_args-append CXXFLAGS="${configure.cxx_archflags}" 110 100 111 } 101 112 102 113 if {[vercmp ${xcodeversion} 4.3] < 0} {