svn commit: r318826 - in head: mail/cclient mail/courier-imap mail/courier-pythonfilter security/courier-authlib

Alexey Dokuchaev danfe at FreeBSD.org
Thu May 23 02:35:36 UTC 2013


On Thu, May 23, 2013 at 02:19:02AM +0000, Jason Helfman wrote:
> New Revision: 318826
> URL: http://svnweb.freebsd.org/changeset/ports/318826
> 
> @@ -14,8 +10,9 @@
>  # in your Makefile *after* any
>  #.include <bsd.port.pre.mk>
>  
> -OPTIONS+=	AUTH_LDAP	"LDAP support"			off \
> -		AUTH_MYSQL	"MySQL support"			off \
> -		AUTH_PGSQL	"PostgreSQL support"		off \
> -		AUTH_USERDB	"Userdb support"		off \
> -		AUTH_VCHKPW	"Vpopmail/vchkpw support"	off
> +OPTIONS_DEFINE+=	AUTH_LDAP AUTH_MYSQL AUTH_PGSQL AUTH_USERDB AUTH_VCHKPW
> +AUTH_LDAP_DESC=	LDAP support
> +AUTH_MYSQL_DESC=	MySQL support
> +AUTH_PGSQL_DESC=	PostgreSQL support
> +AUTH_USERDB_DESC=	Userdb support
> +AUTH_VCHKPW_DESC=	popmail/vchkpw support

If every option starts with AUTH_, maybe it makes sense to simply drop the
common prefix?  It will also allow to use some common descriptions.

./danfe


More information about the svn-ports-all mailing list