summaryrefslogtreecommitdiffstats
path: root/source/l/db44/db44.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/db44/db44.SlackBuild')
-rwxr-xr-xsource/l/db44/db44.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/l/db44/db44.SlackBuild b/source/l/db44/db44.SlackBuild
index 7d5c49c28..58aa279ac 100755
--- a/source/l/db44/db44.SlackBuild
+++ b/source/l/db44/db44.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
VERSION=4.4.20
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -117,6 +117,14 @@ EOF
ln -sf db44 db4
)
+# Rename binaries to avoid overlap:
+( cd $PKG/usr/bin
+ mv berkeley_db_svc berkeley_db44_svc
+ for file in db_* ; do
+ mv $file db44_`echo $file | cut -f 2- -d _`
+ done
+)
+
# Put libdb-4.4.so into /lib${LIBDIRSUFFIX} since it might be needed
# before /usr is mounted (eg, nsswitch.conf can be set up to
# use databases instead of flat files)