summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/mariadb/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/user/mariadb/APKBUILD b/user/mariadb/APKBUILD
index e5e9c2f83..9c80ecff0 100644
--- a/user/mariadb/APKBUILD
+++ b/user/mariadb/APKBUILD
@@ -7,14 +7,18 @@ pkgrel=0
pkgdesc="Open source database server"
url="https://mariadb.org/"
arch="all"
+options="suid" # required for pam_auth plugin, which is needed for
+ # mysql_install_db to work
+options="$options !dbg" # abuild can't handle splitting -dbg with the way
+ # this build's package() function works.
license="GPL-2.0-only"
pkgusers="mysql"
pkggroups="mysql"
depends="$pkgname-common"
depends_dev="openssl-dev zlib-dev"
makedepends="$depends_dev bison cmake curl-dev libaio-dev libarchive-dev
- libedit-dev libevent-dev libexecinfo-dev libxml2-dev numactl-dev
- ncurses-dev linux-pam-dev pcre-dev xz-dev"
+ libedit-dev libevent-dev libexecinfo-dev libxml2-dev ncurses-dev
+ linux-pam-dev pcre-dev xz-dev"
_mytopdeps="perl perl-dbi perl-dbd-mysql perl-getopt-long perl-socket
perl-term-readkey"
subpackages="$pkgname-client $pkgname-server $pkgname-libs $pkgname-embedded
@@ -25,9 +29,6 @@ source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariad
mariadb-server.limits
"
-options="suid" # required for pam_auth plugin, which is needed for
- # mysql_install_db to work
-
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"