Ticket #46943: Portfile-powerpc-ticket-46943.diff
File Portfile-powerpc-ticket-46943.diff, 738 bytes (added by neverpanic (Clemens Lang), 10 years ago) |
---|
-
Portfile
48 48 --disable-silent-rules 49 49 configure.cppflags-append \ 50 50 -I${python.prefix}/include 51 platform darwin { 52 # PowerPC builds fail because -mdynamic_no_pic is the default, #46943 53 if {([variant_isset universal] && (ppc in ${universal_archs} || ppc64 in ${universal_archs})) 54 || (![variant_isset universal] && [string match ppc* ${build_arch}])} { 55 configure.cflags-append -fPIC 56 } 57 } 51 58 52 59 build.cmd [portbuild::build_getmaketype] 53 60 build.target