Index: Mk/bsd.gcc.mk =================================================================== --- Mk/bsd.gcc.mk (revision 327313) +++ Mk/bsd.gcc.mk (working copy) @@ -54,7 +54,12 @@ GCCVERSION_040700= 0 0 4.7 GCCVERSION_040800= 0 0 4.8 +.if ${ARCH} == powerpc64 +# Use gcc47 because the gcc46 port does not support powerpc64. +GCC_DEFAULT_VERSION= 4.7 +.else GCC_DEFAULT_VERSION= 4.6 +.endif GCC_DEFAULT_V= ${GCC_DEFAULT_VERSION:S/.//} # No configurable parts below this. ####################################