summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/yap/yap-6.3.3.ebuild')
-rw-r--r--dev-lang/yap/yap-6.3.3.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-lang/yap/yap-6.3.3.ebuild b/dev-lang/yap/yap-6.3.3.ebuild
index 747e7e12388e..1c6eba7612ed 100644
--- a/dev-lang/yap/yap-6.3.3.ebuild
+++ b/dev-lang/yap/yap-6.3.3.ebuild
@@ -6,7 +6,7 @@ EAPI=5
inherit eutils flag-o-matic java-pkg-opt-2 multilib
-PATCHSET_VER="6"
+PATCHSET_VER="7"
DESCRIPTION="YAP is a high-performance Prolog compiler"
HOMEPAGE="http://www.dcc.fc.up.pt/~vsc/Yap/"
@@ -47,6 +47,12 @@ src_configure() {
else
myddas_conf="--disable-myddas"
fi
+ if use mysql; then
+ myddas_conf="$myddas_conf yap_with_mysql=yes"
+ fi
+ if use odbc; then
+ myddas_conf="$myddas_conf yap_with_odbc=yes"
+ fi
econf \
--libdir=/usr/$(get_libdir) \