Date: Sun, 07 Jun 2026 08:06:41 +0000 From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a51533c40b59 - main - x11-drivers/xlibre-xf86-video-amdgpu: Fix build Message-ID: <6a252691.3bf39.39bc7234@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=a51533c40b59ef6691ae8044f597a6f7cffcae84 commit a51533c40b59ef6691ae8044f597a6f7cffcae84 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2026-06-07 08:04:13 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2026-06-07 08:04:13 +0000 x11-drivers/xlibre-xf86-video-amdgpu: Fix build With hat: xlibre --- x11-drivers/xlibre-xf86-video-amdgpu/Makefile | 5 +++-- .../xlibre-xf86-video-amdgpu/files/patch-configure.ac | 13 +++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/x11-drivers/xlibre-xf86-video-amdgpu/Makefile b/x11-drivers/xlibre-xf86-video-amdgpu/Makefile index 844a93930f7f..3729b6a7b50e 100644 --- a/x11-drivers/xlibre-xf86-video-amdgpu/Makefile +++ b/x11-drivers/xlibre-xf86-video-amdgpu/Makefile @@ -1,6 +1,6 @@ PORTNAME= xlibre-xf86-video-amdgpu PORTVERSION= 25.0.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MAINTAINER= xlibre@FreeBSD.org @@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64le ONLY_FOR_ARCHS_REASON= KMS is required and currently only available on x86/arm64/powerpc64le -LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm +LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \ + libdrm_amdgpu.so:graphics/libdrm USES= gl tar:xz xlibre-cat:driver USE_GL= gbm diff --git a/x11-drivers/xlibre-xf86-video-amdgpu/files/patch-configure.ac b/x11-drivers/xlibre-xf86-video-amdgpu/files/patch-configure.ac new file mode 100644 index 000000000000..2348d999fc0a --- /dev/null +++ b/x11-drivers/xlibre-xf86-video-amdgpu/files/patch-configure.ac @@ -0,0 +1,13 @@ +--- configure.ac.orig 2026-06-07 07:50:51 UTC ++++ configure.ac +@@ -67,6 +67,10 @@ PKG_CHECK_MODULES(GBM, [gbm]) + PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.121]) + PKG_CHECK_MODULES(LIBDRM_AMDGPU, [libdrm_amdgpu >= 2.4.121]) + PKG_CHECK_MODULES(GBM, [gbm]) ++PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0], [LIBPCIACCESS=yes], [LIBPCIACCESS=no]) ++if test "x$LIBPCIACCESS" = xyes; then ++ AC_DEFINE(HAVE_PCI_DEVICE_IS_BOOT_DISPLAY, 1, [libpciaccess support]) ++fi + + # Obtain compiler/linker options for the driver dependencies + PKG_CHECK_MODULES(XORG, [xorg-server >= 25.0.0 xproto fontsproto xf86driproto randrproto renderproto xextproto >= 7.0.99.1 $REQUIRED_MODULES])home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a252691.3bf39.39bc7234>
