Subject: [alpine-aports] [PATCH] main/apr-util: make build more reliable and faster

From: alpine-mips-patches <[email-masked]>
Date: Fri, 30 Nov 2018 10:36:49 +0000

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 <[email-masked]>
 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:  [email-masked]
Help:         [email-masked]
---