[Bug 295582] Mk/Uses/tcl.mk: args are exclusive when compared to other .mk solutions

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 May 2026 11:46:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295582

Christos Chatzaras <chris@cretaforce.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris@cretaforce.gr

--- Comment #4 from Christos Chatzaras <chris@cretaforce.gr> ---
I noticed that after updating databases/valkey to 9.1.0, pkg upgrade wants to
install tcl86 as a direct dependency of valkey:

pkg -j valkey upgrade
Updating CretaForce repository catalogue...
[server2-valkey] Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01
[server2-valkey] Fetching data: 100%   123 KiB 125.6 kB/s    00:01
Processing entries: 100%
CretaForce repository update completed. 402 packages processed.
All repositories are up to date.
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        tcl86: 8.6.18_1 [CretaForce]

Installed packages to be REINSTALLED:
        valkey-9.1.0 [CretaForce] (direct dependency added: tcl86)

Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The process will require 11 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]: n 


----------------


From FreshPorts, databases/valkey appears to have Tcl only as a test
dependency:

USES:

gmake pkgconfig tcl:test ssl

Test dependencies:

tclsh8.6 : lang/tcl86


----------------


So I would expect tcl86 to be required only for tests, not as a runtime
dependency in the final package.


Is this commit related to the behavior above?

-- 
You are receiving this mail because:
You are on the CC list for the bug.