]> git.pld-linux.org Git - packages/db.git/commitdiff
- hack not to use process-shared POSIX mutexes by default even if
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 22 Jun 2005 09:20:15 +0000 (09:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  compiled on builder running Linux 2.6.x

Changed files:
    db.spec -> 1.66.2.4

db.spec

diff --git a/db.spec b/db.spec
index 76dfacdb56dad3674ebbf0606a096b0dc1078fef..08d9572c7bef3b1489748748ccb8627268de353c 100644 (file)
--- a/db.spec
+++ b/db.spec
@@ -3,7 +3,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
@@ -231,6 +231,10 @@ polece
 %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
This page took 0.068957 seconds and 4 git commands to generate.