git: 608a2f1ea904 - main - graphics/libglvnd: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 02 Apr 2023 11:50:13 UTC
The branch main has been updated by pkubaj:

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

commit 608a2f1ea90470d8e99eeb47090d97404f8d7c2b
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-04-02 06:58:06 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-04-02 11:50:11 +0000

    graphics/libglvnd: fix build on powerpc
    
    meson.build:82:4: ERROR: Problem encountered: No ASM available for freebsd (big endian)
---
 graphics/libglvnd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/libglvnd/Makefile b/graphics/libglvnd/Makefile
index 0158ae6f2fdf..ece9248ce38e 100644
--- a/graphics/libglvnd/Makefile
+++ b/graphics/libglvnd/Makefile
@@ -33,6 +33,8 @@ CFLAGS+=	-no-integrated-as
 .elif ${ARCH} == powerpc64
 BUILD_DEPENDS=	as:devel/binutils
 CFLAGS+=	-no-integrated-as -O0
+.elif ${ARCH} == powerpc
+MESON_ARGS+=	-Dasm=disabled
 .endif
 
 # Lots of software expects gl.pc even when it can build with EGL only