SPECS: db4.2.spec - merged nptl bcond fix (hacking out process-sha...

qboosh qboosh at pld-linux.org
Wed Jun 22 11:57:04 CEST 2005


Author: qboosh                       Date: Wed Jun 22 09:57:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged nptl bcond fix (hacking out process-shared mutexes) from db.spec:AC-branch

---- Files affected:
SPECS:
   db4.2.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/db4.2.spec
diff -u SPECS/db4.2.spec:1.70 SPECS/db4.2.spec:1.71
--- SPECS/db4.2.spec:1.70	Thu Apr 21 14:57:15 2005
+++ SPECS/db4.2.spec	Wed Jun 22 11:56:59 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
@@ -223,6 +223,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
@@ -406,6 +410,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2005/06/22 09:56:59  qboosh
+- merged nptl bcond fix (hacking out process-shared mutexes) from db.spec:AC-branch
+
 Revision 1.70  2005/04/21 12:57:15  darekr
 - unified
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/db4.2.spec?r1=1.70&r2=1.71&f=u




More information about the pld-cvs-commit mailing list