git: 4ad079ff68c8 - main - lang/yap: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 08 Nov 2021 16:51:47 UTC
The branch main has been updated by pkubaj:

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

commit 4ad079ff68c82a3388dd968ddcf0b83fc09528bf
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-08 16:49:35 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-08 16:49:35 +0000

    lang/yap: fix build on powerpc64le
    
    Same issue as on other powerpc variants.
---
 lang/yap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index 04d231c16a06..45bc163515e9 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -47,7 +47,7 @@ post-build-DOCS-off:
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
+.if ${ARCH:Mpowerpc*}
 USES+=		compiler:gcc-c++11-lib
 .endif