Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2004 03:15:01 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Thomas-Martin Seck <tmseck-lists@netcologne.de>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: treating OPTIONS
Message-ID:  <1080436501.75008.5.camel@hood.oook.cz>
In-Reply-To: <20040327200136.31711.qmail@laurel.tmseck.homedns.org>
References:  <20040327200136.31711.qmail@laurel.tmseck.homedns.org>

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

--=-d27M173kRp5PaCFBBCCM
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

V so, 27. 03. 2004 v 21:01, Thomas-Martin Seck p=ED=B9e:

> * SADA Kenji <sada@freebsd.org> [gmane.os.freebsd.devel.ports]:
>=20
> > .if exists(${LOCALBASE}/lib/libldap.so)
> > WITH_LDAP=3D      yes
> > OPTIONS+=3D       LDAP "Support for LDAP queries" on
> > .else
> > OPTIONS+=3D       LDAP "Support for LDAP queries" off
> > .endif
>=20
> 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.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

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.

--=-d27M173kRp5PaCFBBCCM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAZicVntdYP8FOsoIRAtLkAJ9H2IvrpG0hjwVMxf1pr03VwV5BJgCgsGjt
lj0g0txNwXwSQg4n+GXEWk4=
=KQwS
-----END PGP SIGNATURE-----

--=-d27M173kRp5PaCFBBCCM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080436501.75008.5.camel>