]> git.pld-linux.org Git - packages/db.git/commitdiff
- added %bcond_with nptl (--enable-posixmutexes)
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 2 Feb 2004 13:55:38 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db.spec -> 1.40

db.spec

diff --git a/db.spec b/db.spec
index e5525efdbf8fda3b3dab4d546efc1038445be0a4..961894aee7c18a75d226d1041f72774d09c1b637 100644 (file)
--- a/db.spec
+++ b/db.spec
@@ -2,7 +2,8 @@
 # Conditional build:
 %bcond_with    java    # build db-java (required for openoffice)
 %bcond_without  tcl    # don't build tcl bindings
-#
+%bcond_with    nptl    # enable posix mutexes
+
 Summary:       Berkeley DB database library for C
 Summary(pl):   Biblioteka C do obs³ugi baz Berkeley DB
 Name:          db
@@ -231,6 +232,7 @@ export CC CXX CFLAGS CXXFLAGS
        --disable-shared \
        --enable-static \
        --enable-rpc \
+       %{?with_nptl:--enable-posixmutexes} \
        --enable-cxx
 
 # (temporarily?) disabled because of compilation errors:
@@ -245,6 +247,7 @@ cd ../build_unix
        --libdir=%{_libdir} \
        --enable-compat185 \
        --enable-rpc \
+       %{?with_nptl:--enable-posixmutexes} \
        --enable-cxx \
        %{?with_tcl:--enable-tcl} \
        %{?with_tcl:--with-tcl=/usr/lib} \
This page took 0.082696 seconds and 4 git commands to generate.