commit:     998a9b9bb6185d584bf6fa6217c80d10765652f1
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 15:42:38 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 15:42:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998a9b9b

dev-db/freetds: new revision to add a missing REQUIRED_USE constraint.

The flags USE=iodbc and USE=odbc are actually mutually exclusive. The
upstream build system doesn't crash at the moment, but will instead
select only one of them if both are specified -- probably not what you
want! This new revision adds an at-most-one-of constraint for those
flags, so that you must explicitly choose (only) the one you want.

Future versions of FreeTDS will throw an error if you ask for both.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-db/freetds/{freetds-1.00.54.ebuild => freetds-1.00.54-r1.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-db/freetds/freetds-1.00.54.ebuild 
b/dev-db/freetds/freetds-1.00.54-r1.ebuild
similarity index 90%
rename from dev-db/freetds/freetds-1.00.54.ebuild
rename to dev-db/freetds/freetds-1.00.54-r1.ebuild
index a7a0237e059..0032727f6bf 100644
--- a/dev-db/freetds/freetds-1.00.54.ebuild
+++ b/dev-db/freetds/freetds-1.00.54-r1.ebuild
@@ -37,6 +37,11 @@ RDEPEND="${COMMON_DEPEND}
        sys-devel/binutils
        net-dns/bind-tools"
 
+# iODBC and unixODBC are mutually-exclusive choices for
+# the ODBC driver manager. Future versions of FreeTDS
+# will throw an error if you specify both.
+REQUIRED_USE="?? ( iodbc odbc )"
+
 # Won't be necessary in the next release.
 PATCHES=( "${FILESDIR}/without-flags.patch" )
 

Reply via email to