Index: devel/icu/Makefile =================================================================== --- devel/icu/Makefile (revision 385147) +++ devel/icu/Makefile (working copy) @@ -47,6 +47,11 @@ THREADS_CONFIGURE_ON= --enable-weak-threads THREADS_CONFIGURE_OFF= --enable-threads=no +# For all Bigendian systems, set CPPFLAGS so that icu compiles and checks correctly +.if ${ARCH} == "mips" || ${ARCH} == "mips64" || ${ARCH} == "sparc64" || ${ARCH} == "powerpc" || ${ARCH} == "powerpc64" +CPPFLAGS+= -DU_IS_BIG_ENDIAN=1 +.endif + .include post-patch: