Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa_at_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"
_at_@ -25,6 +25,7 @@ build() {
 		--prefix=/usr \
 		--with-apr=/usr \
 		--with-ldap \
+		--with-dbm=db53 \
 		--with-pgsql \
 		--with-mysql \
 		--with-sqlite3 \
_at_@ -38,7 +39,7 @@ build() {
 
 check() {
 	cd "$builddir"
-	make check
+	make -j1 check
 }
 
 package() {
-- 
2.19.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 30 2018 - 10:36:49 UTC