pkgsrc-WIP-changes archive

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

libdrm: fix PLIST



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Tue Jul 20 12:32:53 2021 +0200
Changeset:	a88a04239a91e5f561eb5c9aca9049e86ee90d2e

Modified Files:
	libdrm/Makefile
	libdrm/PLIST

Log Message:
libdrm: fix PLIST

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a88a04239a91e5f561eb5c9aca9049e86ee90d2e

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

diffstat:
 libdrm/Makefile | 8 ++------
 libdrm/PLIST    | 6 +++---
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs:
diff --git a/libdrm/Makefile b/libdrm/Makefile
index 3f9a9843dc..10183b6110 100644
--- a/libdrm/Makefile
+++ b/libdrm/Makefile
@@ -46,9 +46,9 @@ ATOMIC_OPS_CHECK=	1
 
 PLIST_VARS+=	intel arm kms
 
-.if ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+.if ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD"
 MESON_ARGS+=	-Dlibkms=true
-PLIST.kms=	true
+PLIST.kms=	yes
 .else
 MESON_ARGS+=	-Dlibkms=false
 .endif
@@ -92,9 +92,5 @@ MESON_ARGS+=	-Dvalgrind=false
 
 LDFLAGS.NetBSD+=	-lpci
 
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux"
-PLIST.kms=	yes
-.endif
-
 .include "../../devel/meson/build.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libdrm/PLIST b/libdrm/PLIST
index 7e3d7bb672..16d7eebf96 100644
--- a/libdrm/PLIST
+++ b/libdrm/PLIST
@@ -69,9 +69,9 @@ lib/libdrm_radeon.so.1.0.1
 ${PLIST.arm}lib/libdrm_tegra.so
 ${PLIST.arm}lib/libdrm_tegra.so.0
 ${PLIST.arm}lib/libdrm_tegra.so.0.0.0
-lib/libkms.so
-lib/libkms.so.1
-lib/libkms.so.1.0.0
+${PLIST.kms}lib/libkms.so
+${PLIST.kms}lib/libkms.so.1
+${PLIST.kms}lib/libkms.so.1.0.0
 lib/pkgconfig/libdrm.pc
 lib/pkgconfig/libdrm_amdgpu.pc
 ${PLIST.arm}lib/pkgconfig/libdrm_freedreno.pc


Home | Main Index | Thread Index | Old Index