tech-pkg archive

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

x11/qt5-qtbase dependency on libdrm on Linux?

Hi again,

I got this patch still lying around:

RCS file: /cvsroot/pkgsrc/x11/qt5-qtbase/Makefile,v
retrieving revision 1.108
diff -u -r1.108 Makefile
--- Makefile	21 Apr 2021 13:25:33 -0000	1.108
+++ Makefile	23 May 2021 21:11:04 -0000
@@ -103,6 +103,10 @@
 LDFLAGS+=			-lresolv
 .  endif
 .elif ${OPSYS} == "Linux"
+# Explicitly enable kms to avoid breakage later on PLIST
+# checking when system libdrm is picked up anyway.
+CONFIGURE_ARGS+=       -kms
+.include               "../../x11/libdrm/"
 LDFLAGS+=			-ldl
 .elif ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
 .  if exists(/usr/lib/

It occured on my fully-featured Linux desktop where the system offers
libdrm that qtbase stumbled over that and pkgsrc got unhappy. It seems
to be to be not unreasonable to assume libdrm usage on Linux anyway


Alrighty then,


Dr. Thomas Orgis
HPC @ Universität Hamburg

Home | Main Index | Thread Index | Old Index