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-Dec-2007 17:29:41
Branch: HEAD Handle: 2007122216294100
Modified files:
openpkg-src/openldap openldap.spec
Log:
disable the use of epoll(2) under Linux and /dev/poll under Solaris in
case GNU Pth is used as GNU Pth doesn't provide wrappers for those
Summary:
Revision Changes Path
1.214 +6 -1 openpkg-src/openldap/openldap.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openldap/openldap.spec
============================================================================
$ cvs diff -u -r1.213 -r1.214 openldap.spec
--- openpkg-src/openldap/openldap.spec 22 Dec 2007 16:14:14 -0000
1.213
+++ openpkg-src/openldap/openldap.spec 22 Dec 2007 16:29:41 -0000
1.214
@@ -107,6 +107,8 @@
configure
%build
+ cp /dev/null config.cache
+
# configuration: standard build flags
export CC="%{l_cc}"
export CFLAGS="%{l_cflags -O}"
@@ -155,6 +157,9 @@
LDFLAGS="$LDFLAGS `%{l_prefix}/bin/pth-config --ldflags`"
LIBS="`%{l_prefix}/bin/pth-config --libs` $LIBS"
ARGS="$ARGS --with-threads=pth"
+ ( echo "ac_cv_header_sys_devpoll_h=no"
+ echo "ac_cv_header_sys_epoll_h=no"
+ ) >>config.cache
%else
%if "%{with_pthreads}" == "yes"
ARGS="$ARGS --with-threads=posix"
@@ -172,7 +177,7 @@
# configuration: optional SASL support
%if "%{with_sasl}" == "yes"
( echo "ac_cv_lib_sasl2_sasl_client_init=yes"
- ) >config.cache
+ ) >>config.cache
CPPFLAGS="%{l_cppflags sasl} $CPPFLAGS"
ARGS="$ARGS --with-cyrus-sasl --enable-spasswd"
%else
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]