From a352d1ecd4b75c0305a952fc19ff51abc4ceda9e Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Wed, 23 Sep 2020 18:41:55 +0000 Subject: [PATCH] Allow building on powerpc64le. Approved by: portmgr (tier-2 blanket) --- devel/freebsd-gcc9/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/freebsd-gcc9/Makefile b/devel/freebsd-gcc9/Makefile index 00cfbbace03f..c99a93b235a1 100644 --- a/devel/freebsd-gcc9/Makefile +++ b/devel/freebsd-gcc9/Makefile @@ -21,7 +21,7 @@ BUILD_DEPENDS= ${BU_PREFIX}-as:devel/binutils@${TARGETARCH} \ objdump:devel/binutils RUN_DEPENDS= ${BU_PREFIX}-as:devel/binutils@${TARGETARCH} -FLAVORS= aarch64 amd64 i386 mips mips64 powerpc powerpc64 riscv64 sparc64 +FLAVORS= aarch64 amd64 i386 mips mips64 powerpc powerpc64 powerpc64le riscv64 sparc64 TARGETARCH= ${FLAVOR} USES= gmake iconv libtool tar:xz makeinfo compiler:c++11-lang @@ -107,7 +107,7 @@ PLIST+= ${.CURDIR}/pkg-plist.i386 .if ${TARGETARCH:Mmips*} PLIST+= ${.CURDIR}/pkg-plist.mips .endif -.if ${TARGETARCH} == "powerpc64" +.if ${TARGETARCH:Mpowerpc64*} PLIST+= ${.CURDIR}/pkg-plist.powerpc64 .elif ${TARGETARCH:Mpowerpc*} PLIST+= ${.CURDIR}/pkg-plist.powerpc