pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fastfetch



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Apr  5 21:13:52 UTC 2026

Modified Files:
        pkgsrc/sysutils/fastfetch: options.mk

Log Message:
fastfetch: swap for MesaLib features.mk check

PR pkg/60131


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/fastfetch/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/fastfetch/options.mk
diff -u pkgsrc/sysutils/fastfetch/options.mk:1.16 pkgsrc/sysutils/fastfetch/options.mk:1.17
--- pkgsrc/sysutils/fastfetch/options.mk:1.16   Sun Apr  5 21:08:04 2026
+++ pkgsrc/sysutils/fastfetch/options.mk        Sun Apr  5 21:13:52 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2026/04/05 21:08:04 maya Exp $
+# $NetBSD: options.mk,v 1.17 2026/04/05 21:13:52 maya Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.fastfetch
 PKG_OPTIONS_OPTIONAL_GROUPS=   server sound
@@ -9,10 +9,6 @@ PKG_SUPPORTED_OPTIONS= chafa dconf dbus 
                        python sqlite3 threads xfce4-wm
 PKG_SUGGESTED_OPTIONS= glib2 x11
 
-.if ${OPSYS} != "Darwin"
-PKG_SUPPORTED_OPTIONS+=        libdrm
-PKG_SUGGESTED_OPTIONS+=        libdrm
-.endif
 
 CHECK_BUILTIN.pthread:= yes
 .include "../../mk/pthread.builtin.mk"
@@ -28,6 +24,11 @@ PKG_SUPPORTED_OPTIONS+= opengl
 PKG_SUGGESTED_OPTIONS+= opengl
 .endif
 
+.if ${MESALIB_SUPPORTS_DRI:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+=        libdrm
+PKG_SUGGESTED_OPTIONS+=        libdrm
+.endif
+
 PKG_SUGGESTED_OPTIONS.Linux+=          dbus pulseaudio sqlite3
 PKG_SUGGESTED_OPTIONS.FreeBSD+=                oss sqlite3
 PKG_SUGGESTED_OPTIONS.DragonFly+=      oss sqlite3



Home | Main Index | Thread Index | Old Index