pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libdrm libdrm builtin.mk: Add the rest of libdrm_ ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/571a4093bdfc
branches:  trunk
changeset: 308823:571a4093bdfc
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Jun 01 15:05:43 2018 +0000

description:
libdrm builtin.mk: Add the rest of libdrm_ pkgconfig files, too.

Helps with building pkgsrc mesa with base xorg.

diffstat:

 x11/libdrm/builtin.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r 3e8f72ba030a -r 571a4093bdfc x11/libdrm/builtin.mk
--- a/x11/libdrm/builtin.mk     Fri Jun 01 14:54:43 2018 +0000
+++ b/x11/libdrm/builtin.mk     Fri Jun 01 15:05:43 2018 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: builtin.mk,v 1.3 2014/03/10 11:05:53 jperkin Exp $
+# $NetBSD: builtin.mk,v 1.4 2018/06/01 15:05:43 maya Exp $
 
 BUILTIN_PKG:=  libdrm
-PKGCONFIG_FILE.libdrm= ${X11BASE}/lib/pkgconfig/libdrm.pc
-PKGCONFIG_FILE.libdrm+=        ${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/libdrm.pc
+.for pcfile in libdrm libdrm_amdgpu libdrm_intel libdrm_nouveau libdrm_radeon
+PKGCONFIG_FILE.libdrm+=        ${X11BASE}/lib/pkgconfig/${pcfile}.pc
+PKGCONFIG_FILE.libdrm+=        ${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/${pcfile}.pc
+.endfor
 
 .include "../../mk/buildlink3/pkgconfig-builtin.mk"
 .include "../../mk/x11.builtin.mk"



Home | Main Index | Thread Index | Old Index