make.conf for ports?

Radek Kozlowski radek at
Tue Sep 28 04:47:07 PDT 2004

On Tue, Sep 28, 2004 at 02:28:31PM +0400, Alexander Kirillov wrote:
> Thanks for your help everybody,
> /usr/local/etc/pkgtools.conf works for me.
> Couldn't we add similar functionality to /usr/ports/Mk/
> using port origin as a hook for make arguments? And then be able to
> use definitions like DATABASES_MYSQL40='WITH_OPENSSL=yes' in
> /etc/make.conf?

You could do something like this:

.if ${.CURDIR:N*/ports/databases/mysql40-server} == ""


More information about the freebsd-ports mailing list