Index: Mk/bsd.gecko.mk =================================================================== --- Mk/bsd.gecko.mk (revision 548165) +++ Mk/bsd.gecko.mk (working copy) @@ -309,7 +309,7 @@ . endif .elif ${ARCH:Mpowerpc*} BUILD_DEPENDS+= as:devel/binutils -. if ${ARCH} == "powerpc64" +. if ${ARCH} == "powerpc64" || ${ARCH} == "powerpc64le" MOZ_EXPORT+= UNAME_m="${ARCH}" . endif .elif ${ARCH} == "sparc64" Index: Mk/bsd.port.mk =================================================================== --- Mk/bsd.port.mk (revision 548165) +++ Mk/bsd.port.mk (working copy) @@ -1131,8 +1131,10 @@ .endif _EXPORTED_VARS+= ARCH -.if ${ARCH} == powerpc64 -. if !defined(PPC_ABI) +.if ${ARCH} == powerpc64 || ${ARCH} == powerpc64le +. if ${ARCH} == powerpc64le +PPC_ABI= ELFv2 +. elif !defined(PPC_ABI) PPC_ABI!= ${CC} -dM -E - < /dev/null | ${AWK} '/_CALL_ELF/{print "ELFv"$$3}' . if ${PPC_ABI} != ELFv2 PPC_ABI= ELFv1 Index: databases/sqlite3/Makefile =================================================================== --- databases/sqlite3/Makefile (revision 548165) +++ databases/sqlite3/Makefile (working copy) @@ -16,6 +16,8 @@ USES= libtool pathfix USE_LDCONFIG= yes +CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 + GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip Index: ports-mgmt/pkg/Makefile =================================================================== --- ports-mgmt/pkg/Makefile (revision 548165) +++ ports-mgmt/pkg/Makefile (working copy) @@ -29,6 +29,8 @@ USE_SUBMAKE= yes CFLAGS+= -Wno-error +CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 + OPTIONS_DEFINE= DOCS .if !exists(/usr/include/jail.h)