treating OPTIONS

Pav Lucistnik pav at
Sat Mar 27 17:15:03 PST 2004

V so, 27. 03. 2004 v 21:01, Thomas-Martin Seck píše:

> * SADA Kenji <sada at> [gmane.os.freebsd.devel.ports]:
> > .if exists(${LOCALBASE}/lib/
> > WITH_LDAP=      yes
> > OPTIONS+=       LDAP "Support for LDAP queries" on
> > .else
> > OPTIONS+=       LDAP "Support for LDAP queries" off
> > .endif
> Please do not do this. IMHO, ports that autotune themselves are a bad
> idea and abusing OPTIONS for this is even worse. If you - as the
> maintainer - decide that LDAP support is optional, default the port to
> not include it. Period. If the user wants LDAP she can always say so
> herself, either via the commandline or via 'make config'.

Why not? This is a common practice that port autodetects optional
dependencies and automatically enable/disable them.

Pav Lucistnik <pav at>
              <pav at>

Quantum physics was developed in the 1930's, as a result of a bet between
Albert Einstein and Niels Bohr, to see who could come up with the most
ridiculous theory and still have it published.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
Url :

More information about the freebsd-ports mailing list