summaryrefslogtreecommitdiff
path: root/system/procps/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/procps/APKBUILD')
-rw-r--r--system/procps/APKBUILD7
1 files changed, 5 insertions, 2 deletions
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
}