1) Disable parallel build for "make check" to prevent sporadic test failures
(at least on relatively old x86_64 and dual-core 1200 MHz mipsel).
2) Pass DBM version explicitly (--with-dbm=db53) to avoid slow DB version search.
The package already depends on main/db which persists at 5.3.x since 2012.
---
main/apr-util/APKBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index a0bed576dc..07218b317c 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr-util
pkgver=1.6.1
-pkgrel=4
+pkgrel=5
pkgdesc="The Apache Portable Runtime Utility Library"
url="http://apr.apache.org/"
arch="all"
@@ -25,6 +25,7 @@ build() {
--prefix=/usr \
--with-apr=/usr \
--with-ldap \
+ --with-dbm=db53 \
--with-pgsql \
--with-mysql \
--with-sqlite3 \
@@ -38,7 +39,7 @@ build() {
check() {
cd "$builddir"
- make check
+ make -j1 check
}
package() {
--
2.19.2
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---