[Lunar-commits] <crater> db: sync it with moonbase.
Florin Braescu
florin at lunar-linux.org
Wed Jan 11 18:11:08 CET 2012
commit 93488fbca9c2a48aa36d07bd97f9ff545d6a4cd8
Author: Florin Braescu <florin at lunar-linux.org>
Date: Wed Jan 11 18:11:08 2012 +0100
db: sync it with moonbase.
---
devel/db/BUILD | 14 +++++++++++++-
devel/db/CONFIGURE | 1 +
devel/db/DEPENDS | 16 ++++++++--------
devel/db/DETAILS | 10 +++++-----
devel/db/POST_REMOVE | 5 +++++
5 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/devel/db/BUILD b/devel/db/BUILD
index e908517..968318f 100644
--- a/devel/db/BUILD
+++ b/devel/db/BUILD
@@ -1,11 +1,23 @@
(
+ if [ "`get_module_config DOCS`" = "n" ] ; then
+ sedit "s/install_utilities install_docs/install_utilities/g" dist/Makefile.in
+ fi &&
+
+ # The uudecode from uudeview module does not work.
+ # It returs 0 meaning errorless execution but actually does nothing:
+ # it does not decode uue encoded files. That is why configure breaks
+ # if uudeview module is installed.
+ if module_installed uudeview; then
+ sedit 's/uudecode/nouudecode/g' dist/configure
+ fi &&
+
cd build_unix &&
../dist/configure --prefix=/usr \
--build=$BUILD \
- --enable-dynamic \
--enable-compat185 \
--enable-cxx \
+ --disable-static \
$OPTS &&
sedit "s:LIBSO_LIBS=:LIBSO_LIBS= -pthread :" Makefile &&
diff --git a/devel/db/CONFIGURE b/devel/db/CONFIGURE
new file mode 100644
index 0000000..04b5a83
--- /dev/null
+++ b/devel/db/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n
diff --git a/devel/db/DEPENDS b/devel/db/DEPENDS
index cefa1b0..a0e2307 100644
--- a/devel/db/DEPENDS
+++ b/devel/db/DEPENDS
@@ -1,9 +1,9 @@
-optional_depends "tcl" \
- "--enable-tcl --with-tcl=/usr/lib" \
- "" \
- "to build the tcl api"
+optional_depends "tcl" \
+ "--enable-tcl --with-tcl=/usr/lib" \
+ "--disable-tcl" \
+ "for the Tcl API"
-optional_depends "%JAVA_SDK" \
- "--enable-java" \
- "--disable-java" \
- "for java support"
+optional_depends "%JAVA_SDK" \
+ "--enable-java" \
+ "--disable-java" \
+ "for the Java API"
diff --git a/devel/db/DETAILS b/devel/db/DETAILS
index 13221bc..864831d 100644
--- a/devel/db/DETAILS
+++ b/devel/db/DETAILS
@@ -1,11 +1,11 @@
MODULE=db
- VERSION=4.6.21
+ VERSION=4.8.30
SOURCE=$MODULE-$VERSION.tar.gz
- SOURCE_URL=http://download.oracle.com/berkeley-db/
- SOURCE_VFY=sha1:5be3beb82e42a78ff671a3f5a4c30e5652972119
- WEB_SITE=http://www.sleepycat.com/products/bdb.html
+ SOURCE_URL=http://download.oracle.com/berkeley-db
+ SOURCE_VFY=sha1:ab36c170dda5b2ceaad3915ced96e41c6b7e493c
+ WEB_SITE=http://www.oracle.com/database/berkeley-db/index.html
ENTERED=20020318
- UPDATED=20071027
+ UPDATED=20100502
SHORT="A high-performace, embedded database library"
cat << EOF
diff --git a/devel/db/POST_REMOVE b/devel/db/POST_REMOVE
new file mode 100644
index 0000000..8b4dee0
--- /dev/null
+++ b/devel/db/POST_REMOVE
@@ -0,0 +1,5 @@
+# Remove dangling symlinks
+cd /usr/lib &&
+rm -f libdb-4.so libdb.so libdb_cxx-4.so libdb_cxx.so libdb_java-4.8_g.so libdb_java-4.so libdb_java.so
+
+
More information about the Lunar-commits
mailing list