ports/87417: mail/postfix refers to WITH_OPENLDAP_VER option, which doesn't have any effect
Alson van der Meulen
alson+bugs at waalsdorp.nl
Fri Oct 14 00:50:19 UTC 2005
The following reply was made to PR ports/87417; it has been noted by GNATS.
From: Alson van der Meulen <alson+bugs at waalsdorp.nl>
To: Mark Linimon <linimon at lonesome.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/87417: mail/postfix refers to WITH_OPENLDAP_VER option, which doesn't have any effect
Date: Fri, 14 Oct 2005 02:49:05 +0200
* Mark Linimon <linimon at lonesome.com> [2005-10-14 01:36]:
> From bsd.port.mk:
> # Note: the distinction between the USE_* and WANT_* variables, and the
> # WITH_* and WITHOUT_* variables, are that the former are restricted to
> # usage inside the ports framework, and the latter are reserved for user-
> # settable options. (Setting USE_* in /etc/make.conf is always wrong).
> I will make a note to myself to add the text about WANT_* to the Porter's
> Handbook. The other variables are discussed correctly in
I did remember that you're only supposed to use WITH* in make.conf for
ports, but there doesn't seem to be any other way to force postfix (and
maybe some other ports) to use OpenLDAP 2.3 without editting the
Makefile, at least not with the documented WITH_OPENLDAP_VER.
I only suggest this as a workaround, certainly not a permanent solution.
Since you can only have one version of OpenLDAP installed at a time, it
doesn't make much sense to me to select this version in the port. If one
port requires version 2.2, and another requires 2.3, you can't install
them both at the same time. So having a variable to set the OpenLDAP
version from make.conf (eg. WITH_OPENLDAP_VER as supported by exim)
seems logical. Whether support for this should be added to individual
ports or bsd.port.mk (I believe the latter does support WITH_MYSQL_VER)
isn't my decision.
More information about the freebsd-ports-bugs