git: ceba00eb468c - main - Mk/bsd.gecko.mk: remove obsolete conditional

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 13:39:50 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ceba00eb468c8e75f5a1521870db37b0d2adb3ca

commit ceba00eb468c8e75f5a1521870db37b0d2adb3ca
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:18:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:18:28 +0000

    Mk/bsd.gecko.mk: remove obsolete conditional
    
    Also fix powerpc64* - it should be powerpc*.
---
 Mk/bsd.gecko.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index af3e496a05c5..4997aa86031a 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -118,7 +118,7 @@ MOZILLA_PLIST_DIRS?=	bin lib share/pixmaps share/applications
 # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk
 .    if ${ARCH} == amd64 || ${ARCH} == i386
 RUSTFLAGS+=	${CFLAGS:M-march=*:S/-march=/-C target-cpu=/}
-.    elif ${ARCH:Mpowerpc64*}
+.    elif ${ARCH:Mpowerpc*}
 RUSTFLAGS+=	${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/}
 .    else
 RUSTFLAGS+=	${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
@@ -336,9 +336,6 @@ LDFLAGS+=	-B${LOCALBASE}/bin
 .      endif
 .    elif ${ARCH:Mpowerpc*}
 BUILD_DEPENDS+=	as:devel/binutils
-.      if ${ARCH} == "powerpc64"
-MOZ_EXPORT+=	UNAME_m="${ARCH}"
-.      endif
 .    endif
 
 .  else # bsd.port.post.mk