summaryrefslogtreecommitdiff
path: root/user/mariadb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/mariadb/APKBUILD')
-rw-r--r--user/mariadb/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/user/mariadb/APKBUILD b/user/mariadb/APKBUILD
index 1ba1ef5c6..7c44f4c46 100644
--- a/user/mariadb/APKBUILD
+++ b/user/mariadb/APKBUILD
@@ -25,7 +25,6 @@ subpackages="$pkgname-client $pkgname-server $pkgname-libs $pkgname-embedded
$pkgname-common $pkgname-backup mytop::noarch $pkgname-openrc
$pkgname-doc $pkgname-dev"
source="https://archive.mariadb.org/$pkgname-$pkgver/source/$pkgname-$pkgver.tar.gz
- gcc_builtins_ppc.h
ppchax.patch
mariadb.initd
mariadb-server.limits
@@ -56,13 +55,7 @@ build() {
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
- case "$CTARGET_ARCH" in
- ppc)
- cp "$srcdir"/gcc_builtins_ppc.h "$builddir"/include/atomic/gcc_builtins.h
- ;;
- esac
-
- local _release="\
+ _release="\
-DBUILD_CONFIG=mysql_release \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=\"$CXXFLAGS -DNDEBUG\" \
@@ -74,7 +67,7 @@ build() {
# SKIP_TESTS skips client unittests that require a server to be present
# JEMALLOC is reported to not work on musl, TODO: test this
# ASAN also doesn't work on musl iirc
- local _deps="\
+ _deps="\
-DWITH_MARIABACKUP=ON \
-DWITH_NUMA=OFF \
-DWITH_LIBNUMA=OFF \
@@ -94,7 +87,7 @@ build() {
-DSKIP_TESTS=ON "
# AWS_KEY_MANAGEMENT makes this package non-redistributable, disable it
- local _plugins="\
+ _plugins="\
-DPLUGIN_ARCHIVE=YES \
-DPLUGIN_ARIA=YES \
-DPLUGIN_BLACKHOLE=YES \
@@ -107,7 +100,7 @@ build() {
-DPLUGIN_FEEDBACK=NO "
# Investigate turning more of these on
- local _innodb="\
+ _innodb="\
-DWITH_INNODB_LZMA=YES \
-DWITH_INNODB_BZIP2=NO \
-DWITH_INNODB_LZ4=NO \
@@ -115,7 +108,7 @@ build() {
-DWITH_INNODB_SNAPPY=NO "
# MongoDB is not libre software, disable it
- local _connect="\
+ _connect="\
-DCONNECT_WITH_MYSQL=YES \
-DCONNECT_WITH_MONGO=NO \
-DCONNECT_WITH_ODBC=NO \
@@ -123,12 +116,12 @@ build() {
-DCONNECT_WITH_LIBXML2=system "
# non-portable things, things that don't work on musl, BE, 32-bit etc
- local _evil="\
+ _evil="\
-DPLUGIN_MROONGA=NO \
-DPLUGIN_ROCKSDB=NO \
-DPLUGIN_TOKUDB=NO "
- local _system_libs="\
+ _system_libs="\
-DWITH_LIBARCHIVE=system \
-DWITH_PCRE=system \
-DWITH_SSL=system \
@@ -136,7 +129,7 @@ build() {
-DWITH_EXTERNAL_ZLIB=YES \
-DCONC_WITH_EXTERNAL_ZLIB=YES "
- local _system_paths="\
+ _system_paths="\
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/var/lib/mariadb \
@@ -276,7 +269,6 @@ doc() {
}
sha512sums="c216244ce126e6f8954303a76078dc12146e8ea941041edd215dc05201adda1d5158cd7f1c9831328f783aba4f884965ae288f33bbc43229bc6224a4f1079071 mariadb-10.6.4.tar.gz
-15ae6d4564c5c8b8583502acd54bf0019e8a62ebcf87278015506e58848cb6996ff61ca055897f9192b8818808adeeac15b8f786065cfd071cc264ca1922f7e3 gcc_builtins_ppc.h
0cb265173923cb85517a1144cfa904dafe059c1f859e13b4415442cabbb414db5904f2dcee0e865914b0f9c181d1d61d220834cb187b14f8538a0d2552025a9d ppchax.patch
1a2b058aad5fd6d6964db58b663591299a5bf82e7ad21a105d53a3e7ad1c3674c737caf3ee12799cce947cf8ead1f3e789dd8afcfc769891f08208b3006f9654 mariadb.initd
d47324b34a87410eddb554f65199d145dfba9ae40407a62fb77df4e1ebf13087d15eb28e61e5e7cc9139eb42f093a0955136edae4020822652a1f0b4e219849e mariadb-server.limits"