summaryrefslogtreecommitdiff
path: root/user/net-snmp/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-10 16:40:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-10 16:40:18 +0000
commit86fff5ef607b9b125bb900b22ea9e950a27cb90b (patch)
treeee905ed3e018c6561910d9513c107d2448bc4c80 /user/net-snmp/APKBUILD
parent6830394f471fd56822f045a7af2a8816f856425b (diff)
downloadpackages-86fff5ef607b9b125bb900b22ea9e950a27cb90b.tar.gz
packages-86fff5ef607b9b125bb900b22ea9e950a27cb90b.tar.bz2
packages-86fff5ef607b9b125bb900b22ea9e950a27cb90b.tar.xz
packages-86fff5ef607b9b125bb900b22ea9e950a27cb90b.zip
user/net-snmp: declare hidden ncurses dep, fix linking
Diffstat (limited to 'user/net-snmp/APKBUILD')
-rw-r--r--user/net-snmp/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/net-snmp/APKBUILD b/user/net-snmp/APKBUILD
index 098482329..9f083a732 100644
--- a/user/net-snmp/APKBUILD
+++ b/user/net-snmp/APKBUILD
@@ -12,7 +12,8 @@ depends=""
depends_dev="openssl-dev"
# we need perl-net-snmp in make depends for bootstrapping issues
# net-snmp-gui subpackage has perl-net-snmp as depends
-makedepends="file linux-headers openssl-dev perl-dev perl-net-snmp utmps-dev"
+makedepends="file linux-headers ncurses-dev openssl-dev perl-dev perl-net-snmp
+ utmps-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-agent-libs:alibs
$pkgname-openrc $pkgname-perl:pl $pkgname-gui $pkgname-tools"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
@@ -37,7 +38,7 @@ build() {
export lt_cv_sys_max_cmd_len=8192
- ./configure \
+ LIBS="-ltinfow" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \