SPECS (AC-branch): db.spec - hack not to use process-shared POSIX ...
qboosh
qboosh at pld-linux.org
Wed Jun 22 11:20:21 CEST 2005
Author: qboosh Date: Wed Jun 22 09:20:21 2005 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- hack not to use process-shared POSIX mutexes by default even if
compiled on builder running Linux 2.6.x
---- Files affected:
SPECS:
db.spec (1.66.2.3 -> 1.66.2.4)
---- Diffs:
================================================================
Index: SPECS/db.spec
diff -u SPECS/db.spec:1.66.2.3 SPECS/db.spec:1.66.2.4
--- SPECS/db.spec:1.66.2.3 Mon Jun 20 12:38:26 2005
+++ SPECS/db.spec Wed Jun 22 11:20:15 2005
@@ -4,7 +4,7 @@
%bcond_with java # build db-java (required for openoffice)
%bcond_without tcl # don't build Tcl bindings
%bcond_with pmutex # use POSIX mutexes (only process-private with linuxthreads)
-%bcond_with nptl # synonym for pmutex (NPTL provides full interface)
+%bcond_with nptl # use process-shared POSIX mutexes (NPTL provides full interface)
#
%{?with_nptl:%define with_pmutex 1}
Summary: Berkeley DB database library for C
@@ -232,6 +232,10 @@
%patch1 -p0
%patch2 -p0
+%if %{without nptl}
+sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac
+%endif
+
%build
cd dist
cp -f /usr/share/aclocal/libtool.m4 aclocal/libtool.ac
@@ -463,6 +467,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.66.2.4 2005/06/22 09:20:15 qboosh
+- hack not to use process-shared POSIX mutexes by default even if
+ compiled on builder running Linux 2.6.x
+
Revision 1.66.2.3 2005/06/20 10:38:26 baggins
- release 9
- fixed install
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/db.spec?r1=1.66.2.3&r2=1.66.2.4&f=u
More information about the pld-cvs-commit
mailing list