summaryrefslogtreecommitdiff
path: root/user/libstatgrab
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 01:55:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 01:55:12 -0500
commit00a15d93affd2ce4934dced2a98b0acb103e2c6b (patch)
tree83a78c2d4feea0c974dddbdda5ffc707aa38ce8c /user/libstatgrab
parent6f2e8d2f122a389ddece18852c857945d67c3f43 (diff)
downloadpackages-00a15d93affd2ce4934dced2a98b0acb103e2c6b.tar.gz
packages-00a15d93affd2ce4934dced2a98b0acb103e2c6b.tar.bz2
packages-00a15d93affd2ce4934dced2a98b0acb103e2c6b.tar.xz
packages-00a15d93affd2ce4934dced2a98b0acb103e2c6b.zip
user/libstatgrab: modernise, add utmps, fix ncurses, fix build on 4.14
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
}