From a278c3e05013fa3366554af5dee719a0ba90d798 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Jan 2020 20:44:18 +0000 Subject: user/*: Modernise / fix syntax / deps --- user/net-snmp/APKBUILD | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'user/net-snmp/APKBUILD') diff --git a/user/net-snmp/APKBUILD b/user/net-snmp/APKBUILD index 9f083a732..3fc1bceb4 100644 --- a/user/net-snmp/APKBUILD +++ b/user/net-snmp/APKBUILD @@ -26,18 +26,13 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz " prepare() { - update_config_sub default_prepare - # Allow tmpfs volume size monitoring - # Ref #932 + update_config_sub sed -e 's#"tmpfs",#/* "tmpfs", */#g' -i agent/mibgroup/host/hr_filesys.c } build() { - cd "$builddir" - export lt_cv_sys_max_cmd_len=8192 - LIBS="-ltinfow" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -64,7 +59,6 @@ build() { } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install # remove things we dont want distribute rm "$pkgdir"/usr/lib/libsnmp* \ -- cgit v1.2.3-60-g2f50