From 19c94365c39f1420371cf0b081c6ce154d4ae0ef Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 25 Apr 2018 19:32:12 -0500 Subject: system/procps: properly support cross builds --- system/procps/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'system/procps/APKBUILD') diff --git a/system/procps/APKBUILD b/system/procps/APKBUILD index 9f52de53f..3f809b888 100644 --- a/system/procps/APKBUILD +++ b/system/procps/APKBUILD @@ -6,7 +6,8 @@ pkgdesc="Utilities for monitoring your system and processes on your system" url="https://gitlab.com/procps-ng/procps" arch="all" license="GPL LGPL" -makedepends="ncurses-dev gettext-dev autoconf automake libtool" +makedepends_build="autoconf automake libtool" +makedepends_host="ncurses-dev gettext-dev" checkdepends="dejagnu" subpackages="$pkgname-dev $pkgname-doc libproc" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/procps-ng/$pkgname/repository/archive.tar.gz?ref=v$pkgver @@ -39,7 +40,9 @@ build() { --docdir=/usr/share/doc \ --disable-static \ --disable-rpath \ - --with-ncurses + --with-ncurses \ + ac_cv_func_malloc_0_nonnull=yes \ + ac_cv_func_realloc_0_nonnull=yes make } -- cgit v1.2.3-70-g09d2