For 64bit JVM and/or 64bit PostgreSQL daemon (postmaster), add these lines to build.properties, respectively:
build.jni.compiler.arg=-mcpu=powerpc64 build.postgresql.compiler.arg=-mcpu=powerpc64
Credit to DJ, Ted is just the messenger.