diff mbox series

tcl: resolve conflicts with tcl8's man pages

Message ID 20241126141156.438193-1-thomas.perrot@bootlin.com
State New
Headers show
Series tcl: resolve conflicts with tcl8's man pages | expand

Commit Message

Thomas Perrot Nov. 26, 2024, 2:11 p.m. UTC
From: Thomas Perrot <thomas.perrot@bootlin.com>

Change the suffix from "tcl" to "tcl9" to avoid conflicts with the man pages provided by tcl8.

file /usr/share/man/mann/vwait.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/while.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/yield.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/yieldto.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/zlib.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
[...]

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
---
 meta/recipes-devtools/tcltk/tcl_9.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexander Kanavin Nov. 26, 2024, 2:17 p.m. UTC | #1
On Tue, 26 Nov 2024 at 15:12, Thomas Perrot via lists.openembedded.org
<thomas.perrot=bootlin.com@lists.openembedded.org> wrote:
>  AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
> -EXTRA_OECONF = "--disable-rpath --enable-man-suffix"
> +EXTRA_OECONF = "--disable-rpath --enable-man-suffix=tcl9"

For consistency reasons this tweak should be going to tcl8 recipe and
use tcl8 suffix, as that's where similar tweaks are collected.

Alex
diff mbox series

Patch

diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.0.bb b/meta/recipes-devtools/tcltk/tcl_9.0.0.bb
index a6e1dfbb5bef..46e8e7d5c526 100644
--- a/meta/recipes-devtools/tcltk/tcl_9.0.0.bb
+++ b/meta/recipes-devtools/tcltk/tcl_9.0.0.bb
@@ -35,7 +35,7 @@  VER = "${PV}"
 inherit autotools ptest binconfig
 
 AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
-EXTRA_OECONF = "--disable-rpath --enable-man-suffix"
+EXTRA_OECONF = "--disable-rpath --enable-man-suffix=tcl9"
 
 # Prevent installing copy of tzdata based on tzdata installation on the build host
 # It doesn't install tzdata if one of the following files exist on the host: