Ticket #50032: libsdl-darwin8ppc-fix.diff
File libsdl-darwin8ppc-fix.diff, 777 bytes (added by kenneth.f.cunningham@…, 8 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsdl/Portfile
old new 46 46 } 47 47 } 48 48 49 platform darwin 8 powerpc { 50 # test for vector unit 51 if {![catch {sysctl hw.vectorunit} result]} { 52 if {$result > 0} { 53 # powerpc with vectorunit found, must be altivec 54 configure.cflags-append -faltivec 55 } 56 } else { 57 ui_warn "Check for Altivec unit with sysctl failed. $result" 58 } 59 } 60 61 49 62 variant x11 { 50 63 configure.args-delete --without-x 51 64 configure.args-append --x-includes=${prefix}/include \