svn commit: r303188 - head/mail/bmf

Chris Rees crees at FreeBSD.org
Sun Aug 26 16:51:11 UTC 2012


On 26 August 2012 16:06, Adam Weinberger <adamw at freebsd.org> wrote:
> Author: adamw
> Date: Sun Aug 26 15:06:48 2012
> New Revision: 303188
> URL: http://svn.freebsd.org/changeset/ports/303188
>
> Log:
>   Convert to new OPTIONS framework.
>
>   In the process, this also fixes BDB support, and actually enables
>   MYSQL support, which as far as I can tell was never actually enabled
>   in the 9 years this port has been in the tree.
>
> Modified:
>   head/mail/bmf/Makefile
>
> Modified: head/mail/bmf/Makefile
> ==============================================================================
> --- head/mail/bmf/Makefile      Sun Aug 26 12:03:29 2012        (r303187)
> +++ head/mail/bmf/Makefile      Sun Aug 26 15:06:48 2012        (r303188)
> @@ -14,41 +14,36 @@ MASTER_SITES=       SF
>  MAINTAINER=    ports at FreeBSD.org
>  COMMENT=       A fast Bayesian Mail Filter compatible with maildrop and procmail
>
> -.if defined(WITH_BDB41)
> -LIB_DEPENDS=   db41.1:${PORTSDIR}/databases/db41
> -LDFLAGS+=      -L${LOCALBASE}/lib
> -CONFIGURE_ENV+=        DB_LIBNAME=-ldb41
> -.elif defined(WITH_BDB4)
> -LIB_DEPENDS=   db4.0:${PORTSDIR}/databases/db4
> -LDFLAGS+=      -L${LOCALBASE}/lib
> -CONFIGURE_ENV+=        DB_LIBNAME=-ldb4
> -.elif defined(WITH_BDB3)
> -LIB_DEPENDS=   db3.3:${PORTSDIR}/databases/db3
> -LDFLAGS+=      -L${LOCALBASE}/lib
> -CONFIGURE_ENV+=        DB_LIBNAME=-ldb3
> +OPTIONS_DEFINE=                BDB MYSQL DEBUG
> +OPTIONS_DEFAULT=       BDB
> +BDB_DESC=                      Berkeley DB support (may specify w/ WITH_BDB_VER)
> +MYSQL_DESC=                    Adds MySQL Support

For future reference, these two are already in bsd.options.desc.mk,
with very similar descriptions (certainly for MySQL).

Chris



More information about the svn-ports-head mailing list