summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/xsb/xsb-3.0.1.ebuild')
-rw-r--r--dev-lang/xsb/xsb-3.0.1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-lang/xsb/xsb-3.0.1.ebuild b/dev-lang/xsb/xsb-3.0.1.ebuild
index 5bec325a9f13..de625a86659d 100644
--- a/dev-lang/xsb/xsb-3.0.1.ebuild
+++ b/dev-lang/xsb/xsb-3.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.0.1.ebuild,v 1.2 2007/01/29 17:46:06 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/xsb-3.0.1.ebuild,v 1.3 2007/02/03 00:58:27 keri Exp $
MY_PN="XSB"
MY_P="${MY_PN}-${PV}"
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/xsb/xsb-3.0.1-src.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="iodbc java libwww mysql odbc perl threads xml"
+IUSE="debug iodbc java libwww mysql odbc perl threads xml"
DEPEND="iodbc? ( dev-db/libiodbc )
java? ( virtual/jdk )
@@ -45,6 +45,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-xpath.patch
epatch "${FILESDIR}"/${P}-xsb-script.patch
epatch "${FILESDIR}"/${P}-nostrip.patch
+ epatch "${FILESDIR}"/${P}-debug.patch
}
src_compile() {
@@ -60,6 +61,9 @@ src_compile() {
$(use_with odbc) \
$(use_with iodbc) \
$(use_enable java interprolog) \
+ $(use_enable debug) \
+ $(use_enable debug debug-verbose) \
+ $(use_enable debug profile) \
|| die "econf failed"
emake -j1 || die "emake failed"