diff mbox series

[v2,1/8] rxvt-unicode: change virtual/x-terminal-emulator PROVIDES to RPROVIDES

Message ID 20241113155511.1948551-1-ross.burton@arm.com
State New
Headers show
Series [v2,1/8] rxvt-unicode: change virtual/x-terminal-emulator PROVIDES to RPROVIDES | expand

Commit Message

Ross Burton Nov. 13, 2024, 3:55 p.m. UTC
The point of the virtual-x-terminal-emulator alternative was to provide
a single binary that executes whatever terminal has been installed. This
is a runtime choice, so should be RPROVIDES.

This doesn't need built-time PROVIDES, which actively get in the way
when multiple recipes are being built with the same PROVIDES.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
index 5193eebb0bc..2ee3edefa76 100644
--- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
@@ -15,7 +15,7 @@  SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2
 
 inherit autotools pkgconfig update-alternatives
 
-PROVIDES = "virtual/x-terminal-emulator"
+RPROVIDES:${PN} = "virtual-x-terminal-emulator"
 ALTERNATIVE:${PN} = "x-terminal-emulator"
 ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"