Rebuild with mariadb
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: libsasl
|
name: libsasl
|
||||||
description: Simple Authentication and Security Layer library
|
description: Simple Authentication and Security Layer library
|
||||||
version: 2.1.28
|
version: 2.1.28
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.cyrusimap.org/sasl/
|
url: https://www.cyrusimap.org/sasl/
|
||||||
license: BSD-3-Clause-Attribution
|
license: BSD-3-Clause-Attribution
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -12,6 +12,7 @@ depends:
|
|||||||
- openssl
|
- openssl
|
||||||
make_depends:
|
make_depends:
|
||||||
- krb5
|
- krb5
|
||||||
|
- mariadb
|
||||||
- openldap
|
- openldap
|
||||||
- openssl
|
- openssl
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
export CPPFLAGS="-I/usr/include/mariadb"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-krb4 \
|
--disable-krb4 \
|
||||||
@@ -47,8 +48,7 @@ build() {
|
|||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-pgsql=/usr/lib \
|
--with-pgsql=/usr/lib \
|
||||||
--with-sqlite3=/usr/lib \
|
--with-sqlite3=/usr/lib
|
||||||
--without-mysql
|
|
||||||
# prevent excessive overlinking due to libtool
|
# prevent excessive overlinking due to libtool
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user