dev-db/freetds: new revision to add a missing REQUIRED_USE constraint.
authorMichael Orlitzky <mjo@gentoo.org>
Mon, 21 Aug 2017 15:42:38 +0000 (11:42 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Mon, 21 Aug 2017 15:42:38 +0000 (11:42 -0400)
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-r1.ebuild [moved from dev-db/freetds/freetds-1.00.54.ebuild with 90% similarity]

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 a7a0237e059870a02af59f10e147367797dde192..0032727f6bf8798c25dd582be51aff3ad4292915 100644 (file)
@@ -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" )