summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-24 09:59:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-24 09:59:06 +0000
commit237c1460559a6f014bc54d87541a5a8c2b2b38af (patch)
tree0dce89e1476338621c3da882707960a9f014befc
parentb9364a3d1c04a1fbbcc4767ce255d1a875248e62 (diff)
downloadaports-237c1460559a6f014bc54d87541a5a8c2b2b38af.tar.bz2
aports-237c1460559a6f014bc54d87541a5a8c2b2b38af.tar.xz
main/cyrys-sasl: rebuild against db-4.8
and workaround parallel builds
-rw-r--r--main/cyrus-sasl/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD
index b50164653..6346d9fae 100644
--- a/main/cyrus-sasl/APKBUILD
+++ b/main/cyrus-sasl/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cyrus-sasl
pkgver=2.1.23
-pkgrel=1
+pkgrel=2
pkgdesc="Cyrus Simple Authentication Service Layer (SASL)"
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
license="custom"
@@ -32,9 +32,16 @@ build ()
--disable-otp \
--enable-plain \
--with-devrandom=/dev/urandom \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man || return 1
+ # parallell buildds is broken so we build libs first
+ cd lib && make || return 1
- make -j1 || return 1
+ cd "$srcdir"/cyrus-sasl-$pkgver
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/cyrus-sasl-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING