On 2020-08-08 10:57, Walter Dnes wrote:
I noticed when setting up my notebook that tcl got pulled in.  The
culprit is dev-db/sqlite-3.32.3-r1.  Note the "-tcl" USE flag.

[thimk][root][~] emerge -pv1 sqlite

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-db/sqlite-3.32.3-r1:3::gentoo  USE="readline
-debug -doc -icu -secure-delete -static-libs -tcl -test -tools" 0 KiB

  But sqlite-3.32.3-r1.ebuild shows...

=====================================
if [[ "${PV}" == "9999" ]]; then
        BDEPEND=">=dev-lang/tcl-8.6:0
                dev-vcs/fossil"
else
        BDEPEND="app-arch/unzip
                >=dev-lang/tcl-8.6:0"
fi
=====================================

Which is it? If tcl is required, then the "tcl" USE flag is misleading
and pointless, and should not show up.

BDEPEND indicates a build-time dependency on Tcl; I think SQLite3's build
system has a hard dependency on Tcl.  The "tcl" USE flag is likely
controlling whether or not the Tcl interface included with SQLite3 is
built and installed.

[I am not a maintainer of this package]

Reply via email to