git: 0b2e583d850c - main - graphics/libdrm: Fix plist when TESTS options is selected

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 21 Jul 2022 13:08:00 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b2e583d850c4da4b6f28e05d180f196881ce82e

commit 0b2e583d850c4da4b6f28e05d180f196881ce82e
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-21 12:54:03 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-07-21 13:01:04 +0000

    graphics/libdrm: Fix plist when TESTS options is selected
    
    PR:     264844
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/libdrm/Makefile  | 3 ++-
 graphics/libdrm/pkg-plist | 4 +---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile
index 17239233dee6..b7ea7a64370d 100644
--- a/graphics/libdrm/Makefile
+++ b/graphics/libdrm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libdrm
 PORTVERSION=	2.4.112
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	graphics x11
 MASTER_SITES=	https://dri.freedesktop.org/libdrm/
@@ -20,7 +21,7 @@ USE_LDCONFIG=	yes
 OPTIONS_DEFINE=	MANPAGES TESTS
 OPTIONS_SUB=	yes
 
-TESTS_DESC=	Install test programs (which are always built)
+TESTS_DESC=	Build and install test programs
 
 .if defined(PACKAGE_BUILDING)
 OPTIONS_DEFAULT+=	MANPAGES
diff --git a/graphics/libdrm/pkg-plist b/graphics/libdrm/pkg-plist
index 8bd293ff9648..0ab0f7a403ec 100644
--- a/graphics/libdrm/pkg-plist
+++ b/graphics/libdrm/pkg-plist
@@ -1,7 +1,5 @@
+%%TESTS%%bin/amdgpu_stress
 %%TESTS%%bin/drmdevice
-%%TESTS%%bin/kms-steal-crtc
-%%TESTS%%bin/kms-universal-planes
-%%TESTS%%bin/kmstest
 %%TESTS%%bin/modeprint
 %%TESTS%%bin/modetest
 %%TESTS%%bin/proptest