aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-26 16:41:20 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-30 22:51:58 +0100
commit959da4e8f5a243c9cd591e8ffc55668b7400191a (patch)
treebb346b649454ffb9fa131594ea668a50a5917241
parentf12f2b778ee936808ce7577efd837e62d877c67a (diff)
downloadaports-959da4e8f5a243c9cd591e8ffc55668b7400191a.tar.bz2
aports-959da4e8f5a243c9cd591e8ffc55668b7400191a.tar.xz
main/mariadb: simplify rocksdb logic
-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