aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr-util
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2018-11-30 10:36:49 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-17 10:28:39 +0000
commit3e794c73f0f3a27275077889bdac0106bf107daf (patch)
treea887ac37812ad45bf119a25dff907336fe0035b1 /main/apr-util
parentc31675d0dbd9c422350b3795e07f55b16a538a70 (diff)
downloadaports-3e794c73f0f3a27275077889bdac0106bf107daf.tar.bz2
aports-3e794c73f0f3a27275077889bdac0106bf107daf.tar.xz
main/apr-util: make build more reliable and faster
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.
Diffstat (limited to 'main/apr-util')
-rw-r--r--main/apr-util/APKBUILD5
1 files 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() {