aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2015-09-11 22:32:32 +0200
committerAndreas Enge <andreas@enge.fr>2015-09-11 22:42:23 +0200
commitb86c013c68be640521b533e1dd40115e2cb72b40 (patch)
tree28513fe04ef8b8516bdc5115f26b537ce99cd525 /gnu/packages/databases.scm
parent5bef7749d593efc764259ba2081008f24ed42daf (diff)
downloadpatches-b86c013c68be640521b533e1dd40115e2cb72b40.tar
patches-b86c013c68be640521b533e1dd40115e2cb72b40.tar.gz
gnu: bdb: Add configure flag to fix C++ header file.
* gnu/packages/databases.scm (bdb): Build with "--enable-cxx", which causes HAVE_CXX_STDHEADERS to be defined in db_cxx.h in the output.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 96bb740b4c..d7e3fd91fb 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2012, 2014 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2012, 2014, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
@@ -87,7 +87,12 @@
;; The compatibility mode is needed by some packages,
;; notably iproute2.
- "--enable-compat185"))))
+ "--enable-compat185"
+
+ ;; The following flag is needed so that the inclusion
+ ;; of db_cxx.h into C++ files works; it leads to
+ ;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
+ "--enable-cxx"))))
%standard-phases)))
(synopsis "Berkeley database")
(description