summaryrefslogtreecommitdiff
path: root/user/libstatgrab
diff options
context:
space:
mode:
Diffstat (limited to 'user/libstatgrab')
-rw-r--r--user/libstatgrab/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/user/libstatgrab/APKBUILD b/user/libstatgrab/APKBUILD
index 5c3e15cc5..a86f93f52 100644
--- a/user/libstatgrab/APKBUILD
+++ b/user/libstatgrab/APKBUILD
@@ -10,7 +10,7 @@ license="GPL-2.0+ AND LGPL-2.1+"
depends=""
depends_dev="ncurses-dev"
checkdepends="perl"
-makedepends="autoconf automake libtool $depends_dev"
+makedepends="autoconf automake libtool utmps-dev $depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz
fix-configure.patch
@@ -21,7 +21,7 @@ build() {
aclocal
libtoolize -if --recursive
autoreconf -if
- ./configure \
+ LIBS="-lutmps -lskarnet -ltinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -29,7 +29,8 @@ build() {
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-maintainer-mode \
- --disable-man-build
+ --disable-man-build \
+ ac_cv_header_sys_sysinfo_h=no
make
}