OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-Jun-2007 23:25:13
Branch: HEAD Handle: 2007062222251300
Modified files:
openpkg-src/apr apr.spec
Log:
Although the code is able to build against multiple DBM libs, the APR
Autoconf glue is not clever enough. It insists that if one builds with
Berkeley-DB it also has to be the default: So choose DB, then GDBM,
then SDBM as the default (in this order)
Summary:
Revision Changes Path
1.46 +8 -0 openpkg-src/apr/apr.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apr/apr.spec
============================================================================
$ cvs diff -u -r1.45 -r1.46 apr.spec
--- openpkg-src/apr/apr.spec 22 Jun 2007 19:28:04 -0000 1.45
+++ openpkg-src/apr/apr.spec 22 Jun 2007 21:25:13 -0000 1.46
@@ -135,7 +135,15 @@
%if "%{with_gdbm}" == "yes"
--with-gdbm=%{l_prefix} \
%endif
+%if "%{with_db}" == "yes"
+ --with-dbm=db45 \
+%else
+%if "%{with_gdbm}" == "yes"
+ --with-dbm=gdbm \
+%else
--with-dbm=sdbm \
+%endif
+%endif
--with-expat=%{l_prefix} \
%if "%{with_iconv}" == "yes"
--with-iconv=%{l_prefix} \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]