All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/9] tcl: suffix all Tcl man pages instead of using alternatives
@ 2021-07-12 13:51 Ross Burton
  2021-07-12 13:51 ` [PATCH 2/9] tcl: EXTRA_OECONF already passes --libdir, don't do it again Ross Burton
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ross Burton @ 2021-07-12 13:51 UTC (permalink / raw)
  To: openembedded-core

Both Perl and Tcl want to install Thread.3.  Alternatives is a terrible
idea for manpages that don't correspond to binaries, instead just tell
Tcl to suffix the manpages so this is Thread.3tcl.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.11.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.11.bb b/meta/recipes-devtools/tcltk/tcl_8.6.11.bb
index efb36b32dd..f5bb6b1a18 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.11.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.11.bb
@@ -34,9 +34,9 @@ S = "${WORKDIR}/${BPN}${PV}/unix"
 PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
 VER = "${PV}"
 
-inherit autotools ptest binconfig update-alternatives
+inherit autotools ptest binconfig
 
-EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}"
+EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir} --enable-man-suffix"
 
 do_compile_prepend() {
 	echo > ${S}/../compat/fixstrtod.c
@@ -65,9 +65,6 @@ FILES_tcl-lib = "${libdir}/libtcl8.6.so.*"
 FILES_${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8"
 FILES_${PN}-dev += "${libdir}/tclConfig.sh ${libdir}/tclooConfig.sh"
 
-ALTERNATIVE_${PN}-doc = "Thread.3"
-ALTERNATIVE_LINK_NAME[Thread.3] = "${mandir}/man3/Thread.3"
-
 # isn't getting picked up by shlibs code
 RDEPENDS_${PN} += "tcl-lib"
 RDEPENDS_${PN}-ptest += "libgcc"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-12 16:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 13:51 [PATCH 1/9] tcl: suffix all Tcl man pages instead of using alternatives Ross Burton
2021-07-12 13:51 ` [PATCH 2/9] tcl: EXTRA_OECONF already passes --libdir, don't do it again Ross Burton
2021-07-12 13:51 ` [PATCH 3/9] tcl: mark a patch as upstreamable Ross Burton
2021-07-12 13:51 ` [PATCH 4/9] tcl: use tcl-core instead of patching out packages Ross Burton
2021-07-12 13:51 ` [PATCH 5/9] tcl: use AUTOTOOLS_SCRIPT_PATH Ross Burton
2021-07-12 13:51 ` [PATCH 6/9] tcl: remove redundant file creation Ross Burton
2021-07-12 13:51 ` [PATCH 7/9] tcl: detect tests that error as well as fail Ross Burton
2021-07-12 13:51 ` [PATCH 8/9] tcl: clock.test needs a timezone to be set Ross Burton
2021-07-12 13:51 ` [PATCH 9/9] tcl: increase timeouts in interp.test Ross Burton
2021-07-12 16:08   ` [OE-core] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.