summaryrefslogtreecommitdiffstats
path: root/main/cyrus-sasl
diff options
context:
space:
mode:
Diffstat (limited to 'main/cyrus-sasl')
-rw-r--r--main/cyrus-sasl/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD
index dfceb765b..b8c72fb4a 100644
--- a/main/cyrus-sasl/APKBUILD
+++ b/main/cyrus-sasl/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cyrus-sasl
pkgver=2.1.26
-pkgrel=0
+pkgrel=1
pkgdesc="Cyrus Simple Authentication Service Layer (SASL)"
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc libsasl"
depends=
-makedepends="db-dev openssl-dev heimdal-dev"
+makedepends="db-dev openssl-dev heimdal-dev
+ autoconf automake libtool"
source="ftp://ftp.cyrusimap.org/$pkgname/$pkgname-$pkgver.tar.gz
saslauthd.initd
cyrus-sasl-2.1.26-size_t.patch
@@ -23,6 +24,13 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+
+ # the libtool they ship is broken
+ sed 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.in || return 1
+ rm -rf config/config.guess config/config.sub config/ltconfig \
+ config/ltmain.sh config/libtool.m4 autom4te.cache
+ libtoolize -c && aclocal -I config -I cmulocal \
+ && automake -a -c && autoheader && autoconf
}
build() {