summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-04-24 22:51:37 +0000
committerKeri Harris <keri@gentoo.org>2007-04-24 22:51:37 +0000
commit456686c06a6f30dbfa0ea5f33b1b4aee52159ac8 (patch)
treea948209193016fa5bef56de52c925ea480dd2e0c /dev-lang/xsb
parentRemoved dev-perl/Newt (diff)
downloadgentoo-2-456686c06a6f30dbfa0ea5f33b1b4aee52159ac8.tar.gz
gentoo-2-456686c06a6f30dbfa0ea5f33b1b4aee52159ac8.tar.bz2
gentoo-2-456686c06a6f30dbfa0ea5f33b1b4aee52159ac8.zip
Respect -odbc -iodbc in USE flags.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-lang/xsb')
-rw-r--r--dev-lang/xsb/ChangeLog5
-rw-r--r--dev-lang/xsb/files/xsb-3.0.1-configure.patch21
2 files changed, 25 insertions, 1 deletions
diff --git a/dev-lang/xsb/ChangeLog b/dev-lang/xsb/ChangeLog
index 9bd0379dc616..785947807e98 100644
--- a/dev-lang/xsb/ChangeLog
+++ b/dev-lang/xsb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/xsb
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.7 2007/02/08 08:16:23 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/xsb/ChangeLog,v 1.8 2007/04/24 22:51:37 keri Exp $
+
+ 24 Apr 2007; keri <keri@gentoo.org> files/xsb-3.0.1-configure.patch:
+ Respect -odbc -iodbc in USE flags. Closes bug #174696.
08 Feb 2007; keri <keri@gentoo.org> files/xsb-3.0.1-configure.patch,
files/xsb-3.0.1-portage.patch:
diff --git a/dev-lang/xsb/files/xsb-3.0.1-configure.patch b/dev-lang/xsb/files/xsb-3.0.1-configure.patch
index 69195f6647de..7c917582e6fb 100644
--- a/dev-lang/xsb/files/xsb-3.0.1-configure.patch
+++ b/dev-lang/xsb/files/xsb-3.0.1-configure.patch
@@ -94,6 +94,15 @@
AC_PROG_CC
AC_PROG_CPP
+@@ -986,7 +986,7 @@
+ ODBCSRC=""
+ ODBCOBJ=""
+
+-if test "${with_odbc+set}" = "set"; then
++if test "${with_odbc}" = "yes"; then
+ if test -n "$with_os" ; then
+ echo -n ""
+ # AC_DEFINE(XSB_ODBC)
@@ -1024,11 +1024,11 @@
# with_odbc=no
# else
@@ -111,6 +120,18 @@
# fi
# dnl restore CPPFLAGS
# CPPFLAGS="${saved_cpp_flags}"
+@@ -1039,9 +1039,9 @@
+ fi
+ fi
+
+-if test "${with_odbc+set}" = "set"; then
++if test "${with_odbc}" = "yes"; then
+ AC_DEFINE(XSB_ODBC)
+- with_odbc=yes
++# with_odbc=yes
+ fi
+
+ INTERPROLOGSRC=""
@@ -1132,8 +1132,8 @@
AC_SUBST(perl_ccflags)
AC_SUBST(perl_libs)