pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mesa: fix pkglint
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sat Oct 11 23:59:07 2025 +0200
Changeset: 98c685dc2f94a5e264241aed7747f8082c9ceed7
Modified Files:
mesa/Makefile
mesa/buildlink3.mk
mesa/options.mk
Log Message:
mesa: fix pkglint
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98c685dc2f94a5e264241aed7747f8082c9ceed7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mesa/Makefile | 8 ++++----
mesa/buildlink3.mk | 2 +-
mesa/options.mk | 3 +--
3 files changed, 6 insertions(+), 7 deletions(-)
diffs:
diff --git a/mesa/Makefile b/mesa/Makefile
index 82fed8a116..f791c90ca4 100644
--- a/mesa/Makefile
+++ b/mesa/Makefile
@@ -72,7 +72,7 @@ PLIST.i965= yes
. endif
# FreeBSD lacks nouveau support (there are official binaries from Nvidia)
. if ${OPSYS} != "FreeBSD"
-. if empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
+. if !${MACHINE_PLATFORM:MNetBSD-*-powerpc}
# nouveau not available on this platform
PLIST.nouveau= yes
PLIST.nouveau_dri= yes
@@ -80,15 +80,15 @@ GALLIUM_DRIVERS+= nouveau
DRI_DRIVERS+= nouveau
. endif
. endif
-. if !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
+. if ${MACHINE_PLATFORM:MLinux-*-x86_64}
# qemu Linux guest driver
# XXX test this
#GALLIUM_DRIVERS+= virgl
#PLIST.virgl= yes
. endif
# theoretically cross platform PCI drivers
-. if empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && \
- empty(MACHINE_PLATFORM:MNetBSD-*-mipsel)
+. if !${MACHINE_PLATFORM:MNetBSD-*-*arm*} && \
+ !${MACHINE_PLATFORM:MNetBSD-*-mipsel}
DRI_DRIVERS+= r100 r200
GALLIUM_DRIVERS+= r300
PLIST.r100= yes
diff --git a/mesa/buildlink3.mk b/mesa/buildlink3.mk
index 361e230398..c456c3a238 100644
--- a/mesa/buildlink3.mk
+++ b/mesa/buildlink3.mk
@@ -20,7 +20,7 @@ pkgbase:= mesa
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.mesa:Mx11)
+.if ${PKG_BUILD_OPTIONS.mesa:Mx11}
. include "../../x11/libX11/buildlink3.mk"
. include "../../x11/libXdamage/buildlink3.mk"
. include "../../x11/libXext/buildlink3.mk"
diff --git a/mesa/options.mk b/mesa/options.mk
index 2582d72484..36fe274929 100644
--- a/mesa/options.mk
+++ b/mesa/options.mk
@@ -76,7 +76,7 @@ MESON_ARGS+= -Dllvm=enabled
. include "../../lang/libunwind/buildlink3.mk"
. include "../../lang/clang/buildlink3.mk"
-GALLIUM_DRIVERS+= llvmpipe
+GALLIUM_DRIVERS+= llvmpipe
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin"
# This is the latest libdrm requirement for amdgpu.
BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.107
@@ -150,4 +150,3 @@ MESA_PLATFORMS+= wayland
. include "../../devel/wayland/buildlink3.mk"
. include "../../devel/wayland-protocols/buildlink3.mk"
.endif
-
Home |
Main Index |
Thread Index |
Old Index