summaryrefslogtreecommitdiff
path: root/source/ap/mariadb/mariadb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/mariadb/mariadb.SlackBuild')
-rwxr-xr-xsource/ap/mariadb/mariadb.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/source/ap/mariadb/mariadb.SlackBuild b/source/ap/mariadb/mariadb.SlackBuild
index a16f6cfd..9aefaca0 100755
--- a/source/ap/mariadb/mariadb.SlackBuild
+++ b/source/ap/mariadb/mariadb.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2012, 2013, 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2012, 2013, 2014, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# Copyright 2011, 2012, 2013, 2014, 2017 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mariadb
VERSION=${VERSION:-$(echo ${PKGNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# To reduce the package size, the embedded server may be omitted. Currently
# only amarok uses this. To build without embedded support, set this to NO.
@@ -181,6 +181,15 @@ if [ "$KEEPTESTS" = "NO" ]; then
rm -rf $PKG/usr/mysql-test
fi
+# Locate PAM module(s) correctly:
+if [ -d $PKG/lib/security ]; then
+ if [ ! "lib" = "lib${LIBDIRSUFFIX}" ]; then
+ mkdir -p $PKG/lib${LIBDIRSUFFIX}
+ mv $PKG/lib/security $PKG/lib${LIBDIRSUFFIX}/security
+ rmdir $PKG/lib 2> /dev/null
+ fi
+fi
+
# The ./configure option to omit this has gone away, so we'll omit it
# the old-fashioned way. It's all in the source tarball if you need it.
rm -rf $PKG/usr/sql-bench