summaryrefslogtreecommitdiff
path: root/system/procps
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 19:32:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 19:32:12 -0500
commit19c94365c39f1420371cf0b081c6ce154d4ae0ef (patch)
tree0f063db46b438baeed7b7e5f4d5d27a676848886 /system/procps
parent5b3427aa549101fd1ab8f340ea63a5e48186283f (diff)
downloadpackages-19c94365c39f1420371cf0b081c6ce154d4ae0ef.tar.gz
packages-19c94365c39f1420371cf0b081c6ce154d4ae0ef.tar.bz2
packages-19c94365c39f1420371cf0b081c6ce154d4ae0ef.tar.xz
packages-19c94365c39f1420371cf0b081c6ce154d4ae0ef.zip
system/procps: properly support cross builds
Diffstat (limited to 'system/procps')
-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
}