OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 05-Jun-2003 10:03:02
Branch: HEAD Handle: 2003060509025902
Modified files:
openpkg-src/db db.spec
openpkg-web news.txt
Log:
make sure DB does not use Pthread for mutex on FreeBSD and Linux; the
ix86/gcc assembly mutex is even better here
Summary:
Revision Changes Path
1.31 +7 -2 openpkg-src/db/db.spec
1.4733 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/db/db.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 db.spec
--- openpkg-src/db/db.spec 23 Mar 2003 10:39:33 -0000 1.30
+++ openpkg-src/db/db.spec 5 Jun 2003 08:03:01 -0000 1.31
@@ -37,7 +37,7 @@
Group: Database
License: BSD
Version: %{V_version}.%{V_revision}
-Release: 20030323
+Release: 20030605
# package options
%option with_compat no
@@ -50,7 +50,7 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206
+BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
PreReq: OpenPKG, openpkg >= 20020206
AutoReq: no
AutoReqProv: no
@@ -69,6 +69,10 @@
%patch -p0
%build
+ mutex="no"
+ case "%{l_target}" in
+ ix86-* ) mutex="x86/gcc-assembly" ;;
+ esac
cd build_unix
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
@@ -88,6 +92,7 @@
%else
--disable-cxx \
%endif
+ --with-mutex="$mutex" \
--disable-shared
%{l_make} %{l_mflags -O}
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4732 -r1.4733 news.txt
--- openpkg-web/news.txt 5 Jun 2003 06:53:40 -0000 1.4732
+++ openpkg-web/news.txt 5 Jun 2003 08:02:59 -0000 1.4733
@@ -1,3 +1,4 @@
+05-Jun-2003: Upgraded package: P<db-4.1.25.1-20030605>
05-Jun-2003: Upgraded package: P<dss-4.1.3-20030605>
05-Jun-2003: Upgraded package: P<proftpd-1.2.8-20030605>
05-Jun-2003: Upgraded package: P<perl-dbix-20030605-20030605>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]