aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mariadb/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/mariadb/APKBUILD b/main/mariadb/APKBUILD
index 7d8fecab01..11311d18e6 100644
--- a/main/mariadb/APKBUILD
+++ b/main/mariadb/APKBUILD
@@ -28,15 +28,14 @@ subpackages="$pkgname-static $pkgname-test:mytest $pkgname-embedded-dev:_embedde
mysql mysql-client:_compat_client mysql-bench:_compat_bench"
options="!checkroot suid"
-_enable_rocksdb=YES
case "$CARCH" in
-x86|s390x|mips64) _enable_rocksdb=NO;;
+ x86|s390x|mips64) _enable_rocksdb=NO ;;
+ *)
+ _enable_rocksdb=YES
+ subpackages="$subpackages $pkgname-plugin-rocksdb:_plugin_rocksdb"
+ ;;
esac
-if [ "$_enable_rocksdb" = "YES" ]; then
- subpackages="$subpackages $pkgname-plugin-rocksdb:_plugin_rocksdb"
-fi
-
source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz
$pkgname.initd
pcre.cmake.patch