Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2021 08:25:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        tcltk@FreeBSD.org
Subject:   [Bug 259121] databases/tdbc has fixed dependency on mysql client 5.7
Message-ID:  <bug-259121-30738-6RkNKdIZ4p@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259121-30738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259121-30738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259121

--- Comment #8 from Pietro Cerutti <gahr@FreeBSD.org> ---
We tend to make sure a port depends on any package you need to *use* the port.
We differentiate between build dependencies and run dependencies.

Following your reasoning, a package for an interpreted language to wrap the
functionality of a C library shouldn't depend on the C library because it can
be built (i.e., packaged) without. Should p5-Redis depend on Redis? We think it
should, and that's how we organize run-time dependencies. Similarly, it makes
sense for tdbc (when built with the MYSQL option) to depend on the mysql client
library.

USES= mysql
and
USES= mysql:client

do the same thing. Please explain what you are seeing that would suggest
otherwise.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259121-30738-6RkNKdIZ4p>