pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jan 18 07:40:03 UTC 2024

Modified Files:
        pkgsrc/multimedia/mpv: options.mk

Log Message:
mpv: libdrm option breaks build on netbsd-9, do not default to it there


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/multimedia/mpv/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/multimedia/mpv/options.mk
diff -u pkgsrc/multimedia/mpv/options.mk:1.35 pkgsrc/multimedia/mpv/options.mk:1.36
--- pkgsrc/multimedia/mpv/options.mk:1.35       Fri Oct 20 04:58:09 2023
+++ pkgsrc/multimedia/mpv/options.mk    Thu Jan 18 07:40:03 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.35 2023/10/20 04:58:09 mrg Exp $
+# $NetBSD: options.mk,v 1.36 2024/01/18 07:40:03 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -24,7 +24,14 @@ PKG_SUGGESTED_OPTIONS.Linux+=        alsa pulse
 PKG_SUGGESTED_OPTIONS+=                opengl x11
 .endif
 
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
+# Requires libdrm-2.4.105
+.if ${OPSYS} == "NetBSD"
+.  if ${OPSYS_VERSION} >= 099983 || ${X11_TYPE} != "native"
+PKG_SUGGESTED_OPTIONS+=                libdrm
+.  endif
+.endif
+
+.if ${OPSYS} == "Linux"
 PKG_SUGGESTED_OPTIONS+=                libdrm
 .endif
 



Home | Main Index | Thread Index | Old Index