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: 03-Nov-2007 09:50:12
Branch: HEAD Handle: 2007110308501200
Modified files:
openpkg-src/openldap openldap.spec
Log:
I don't know why DB 4.6 still breaks slapd(8), but as it still
segfaults switch back to DB 4.5 again
Summary:
Revision Changes Path
1.206 +6 -6 openpkg-src/openldap/openldap.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openldap/openldap.spec
============================================================================
$ cvs diff -u -r1.205 -r1.206 openldap.spec
--- openpkg-src/openldap/openldap.spec 31 Oct 2007 16:43:29 -0000
1.205
+++ openpkg-src/openldap/openldap.spec 3 Nov 2007 08:50:12 -0000
1.206
@@ -33,7 +33,7 @@
Group: LDAP
License: GPL
Version: 2.4.6
-Release: 20071031
+Release: 20071103
# package options
%option with_server yes
@@ -57,8 +57,8 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc
PreReq: OpenPKG, openpkg >= 20060823
-BuildPreReq: readline, openssl, db >= 4.5
-PreReq: readline, openssl, db >= 4.5
+BuildPreReq: readline, openssl, db45
+PreReq: readline, openssl, db45
%if "%{with_server}" == "yes" && "%{with_fsl}" == "yes"
BuildPreReq: fsl
PreReq: fsl
@@ -105,8 +105,8 @@
# configuration: standard build flags
export CC="%{l_cc}"
export CFLAGS="%{l_cflags -O}"
- export CPPFLAGS="%{l_cppflags}"
- export LDFLAGS="%{l_ldflags}"
+ export CPPFLAGS="%{l_cppflags db45 .}"
+ export LDFLAGS="%{l_ldflags db45 .}"
export LIBS=""
export ARGS=""
ARGS="$ARGS --prefix=%{l_prefix}"
@@ -195,7 +195,7 @@
# configuration: use hard-links and make sure our Berkeley-DB is
picked up first
%{l_shtool} subst \
-e 's;ln -s;ln;g' \
- -e 's;-ldb4[1-9];%{l_prefix}/lib/libdb.a;g' \
+ -e 's;-ldb4[1-9];%{l_prefix}/lib/db45/libdb.a;g' \
-e 's;<db\.h>;"db.h";g' \
configure
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]