pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/libdrm



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Fri Jan 24 20:40:54 UTC 2025

Modified Files:
        pkgsrc/x11/libdrm: buildlink3.mk

Log Message:
x11/libdrm/buildlink3.mk: Pull in libpciaccess on x86.

This matches what the Makefile does.

Resolves the following annoying warnings (possibly harmful, unclear)
when building, e.g., graphics/wld:

Package pciaccess was not found in the pkg-config search path.
Perhaps you should add the directory containing `pciaccess.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pciaccess', required by 'libdrm_intel', not found


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/x11/libdrm/buildlink3.mk

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

Modified files:

Index: pkgsrc/x11/libdrm/buildlink3.mk
diff -u pkgsrc/x11/libdrm/buildlink3.mk:1.7 pkgsrc/x11/libdrm/buildlink3.mk:1.8
--- pkgsrc/x11/libdrm/buildlink3.mk:1.7 Thu May 16 05:43:14 2013
+++ pkgsrc/x11/libdrm/buildlink3.mk     Fri Jan 24 20:40:54 2025
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2013/05/16 05:43:14 richard Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2025/01/24 20:40:54 riastradh Exp $
 
 BUILDLINK_TREE+=       libdrm
 
@@ -8,6 +8,10 @@ LIBDRM_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.15
 BUILDLINK_PKGSRCDIR.libdrm?=   ../../x11/libdrm
 BUILDLINK_INCDIRS.libdrm?=     include/libdrm
+
+.  if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.    include "../../sysutils/libpciaccess/buildlink3.mk"
+.  endif
 .endif # LIBDRM_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libdrm



Home | Main Index | Thread Index | Old Index