Date: Fri, 14 Oct 2005 00:50:19 GMT From: Alson van der Meulen <alson+bugs@waalsdorp.nl> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/87417: mail/postfix refers to WITH_OPENLDAP_VER option, which doesn't have any effect Message-ID: <200510140050.j9E0oJ6Q095475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/87417; it has been noted by GNATS. From: Alson van der Meulen <alson+bugs@waalsdorp.nl> To: Mark Linimon <linimon@lonesome.com> Cc: freebsd-gnats-submit@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@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 > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html > > and > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html 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. Alson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510140050.j9E0oJ6Q095475>