summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariadb/PKGBUILD')
-rw-r--r--extra/mariadb/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD
index dcf8ca5a1..2555beb3b 100644
--- a/extra/mariadb/PKGBUILD
+++ b/extra/mariadb/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 216837 2014-07-12 14:49:30Z bpiotrowski $
+# $Id: PKGBUILD 218189 2014-07-26 08:41:39Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
pkgbase=mariadb
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
pkgver=10.0.12
_pkgver=${pkgver/.a/a}
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
license=('GPL')
url='http://mariadb.org/'
@@ -24,6 +24,8 @@ build() {
cd build
cmake ../$pkgbase-$_pkgver \
+ -DCMAKE_AR=/usr/bin/gcc-ar \
+ -DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
-DBUILD_CONFIG=mysql_release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
@@ -57,7 +59,6 @@ build() {
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
-DWITHOUT_PBXT_STORAGE_ENGINE=1 \
- -DWITHOUT_TOKUDB=1 \
-DCMAKE_C_FLAGS="-fPIC $CFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -fno-delete-null-pointer-checks" \
-DCMAKE_CXX_FLAGS="-fPIC $CXXFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fno-delete-null-pointer-checks" \
-DWITH_MYSQLD_LDFLAGS="$LDFLAGS"
@@ -119,6 +120,7 @@ package_mariadb() {
backup=('etc/mysql/my.cnf')
install=mariadb.install
depends=('mariadb-clients' 'inetutils' 'libaio' 'libxml2' 'pcre')
+ optdepends=('perl-dbd-mysql: for mysqlhotcopy, mysql_convert_table_format and mysql_setpermission')
conflicts=('mysql')
provides=("mysql=$pkgver")
options=('emptydirs')