summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 14:01:46 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:02 +0000
commitb0ee2df99218a83a9db0b3860a089b3705672f27 (patch)
tree58b4f593505c8cbae31b7ef8a589745f1f52bef5 /system
parentc391204450999d52df1c57592f63f50b05af31a9 (diff)
downloadslackbuilds-b0ee2df99218a83a9db0b3860a089b3705672f27.tar.gz
system/percona-xtrabackup: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/percona-xtrabackup/percona-xtrabackup.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
index a70cdefe42..3127baaa7c 100644
--- a/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
+++ b/system/percona-xtrabackup/percona-xtrabackup.SlackBuild
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=percona-xtrabackup
-VERSION=2.1.5
-PERCONA_VERSION=5.5.31-rel30.3
+VERSION=${VERSION:-2.1.5}
+PERCONA_VERSION=${PERCONA_VERSION:-5.5.31-rel30.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"