Skip to content

Commit

Permalink
dev-db/freetds: new revision to add a missing REQUIRED_USE constraint.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
orlitzky committed Aug 21, 2017
1 parent af70800 commit 998a9b9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

Expand Down

0 comments on commit 998a9b9

Please sign in to comment.