Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2023 11:50:13 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 608a2f1ea904 - main - graphics/libglvnd: fix build on powerpc
Message-ID:  <202304021150.332BoDaR011611@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304021150.332BoDaR011611>