Skip site navigation (1)Skip section navigation (2)
Date:      27 Mar 2004 20:01:36 -0000
From:      tmseck-lists@netcologne.de (Thomas-Martin Seck)
To:        SADA Kenji <sada@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: treating OPTIONS
Message-ID:  <20040327200136.31711.qmail@laurel.tmseck.homedns.org>
In-Reply-To: <20040328023952.06ffa2ce.sada@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* SADA Kenji <sada@freebsd.org> [gmane.os.freebsd.devel.ports]:

> .if exists(${LOCALBASE}/lib/libldap.so)
> 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'.



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