--- freetds-0.61-r1.ebuild.orig 2003-11-25 03:10:51.000000000 -0500 +++ freetds-0.61-r1.ebuild 2003-11-25 03:13:04.000000000 -0500 @@ -5,7 +5,7 @@ DESCRIPTION="Tabular Datastream Library" SRC_URI="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/${P}.tgz" HOMEPAGE="http://www.freetds.org/" - +IUSE="odbc" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc ~ppc ~mips ~arm hppa ~alpha amd64" @@ -14,7 +14,9 @@ S=${WORKDIR}/${P} src_compile() { - econf --with-tdsver=7.0 + local myconf + use odbc && myconf="--with-unixodbc=/usr" + econf --with-tdsver=7.0 ${myconf} emake || die }