Date: Sun, 26 Aug 2012 17:50:38 +0100 From: Chris Rees <crees@FreeBSD.org> To: Adam Weinberger <adamw@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r303188 - head/mail/bmf Message-ID: <CADLo83_qyh3_c6GhyVkGZe3nZBxqV9GrmRdo5i5%2B9fynmv6e=A@mail.gmail.com> In-Reply-To: <201208261506.q7QF6mqd040309@svn.freebsd.org> References: <201208261506.q7QF6mqd040309@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 August 2012 16:06, Adam Weinberger <adamw@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_qyh3_c6GhyVkGZe3nZBxqV9GrmRdo5i5%2B9fynmv6e=A>