From bc5e55c275f33ea8de1e40a14e2def713856621d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 1 Oct 2025 11:12:32 +0300 Subject: [PATCH] Rebuild with mariadb --- pkg.info | 3 ++- source.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index baaed2e..50a6681 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libsasl description: Simple Authentication and Security Layer library version: 2.1.28 -revision: 1 +revision: 2 url: https://www.cyrusimap.org/sasl/ license: BSD-3-Clause-Attribution architecture: any @@ -12,6 +12,7 @@ depends: - openssl make_depends: - krb5 + - mariadb - openldap - openssl - postgresql diff --git a/source.sh b/source.sh index c5ebb2b..278e576 100644 --- a/source.sh +++ b/source.sh @@ -18,6 +18,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { + export CPPFLAGS="-I/usr/include/mariadb" ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-krb4 \ @@ -47,8 +48,7 @@ build() { --with-ldap \ --with-pam \ --with-pgsql=/usr/lib \ - --with-sqlite3=/usr/lib \ - --without-mysql + --with-sqlite3=/usr/lib # prevent excessive overlinking due to libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool