Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 07:10:46 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 97ab578fe9a0 - main - graphics/libglvnd: allow the port to build on RISC-V
Message-ID:  <202307090710.3697Ak1L013314@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit 97ab578fe9a0f27cb7682c9ce48a50a6a806bb37
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-07-09 07:10:06 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-07-09 07:10:06 +0000

    graphics/libglvnd: allow the port to build on RISC-V
    
    Use the same treatment as on PowerPC:
    
      Program python3 found: YES (/usr/local/bin/python3.8)
      Program nm found: YES (/usr/bin/nm)
      Message: Host CPU family: riscv64
      Message: Host CPU: riscv64
    
      meson.build:82:4: ERROR: Problem encountered: No ASM
      available for freebsd (little endian)
---
 graphics/libglvnd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/libglvnd/Makefile b/graphics/libglvnd/Makefile
index ece9248ce38e..e7e26587eaea 100644
--- a/graphics/libglvnd/Makefile
+++ b/graphics/libglvnd/Makefile
@@ -33,7 +33,7 @@ CFLAGS+=	-no-integrated-as
 .elif ${ARCH} == powerpc64
 BUILD_DEPENDS=	as:devel/binutils
 CFLAGS+=	-no-integrated-as -O0
-.elif ${ARCH} == powerpc
+.elif ${ARCH} == powerpc || ${ARCH} == riscv64
 MESON_ARGS+=	-Dasm=disabled
 .endif
 



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