mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
net-snmp: fix for musl native build.
This commit is contained in:
parent
687e72ee2f
commit
a7995c33f5
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'net-snmp'.
|
# Template build file for 'net-snmp'.
|
||||||
pkgname=net-snmp
|
pkgname=net-snmp
|
||||||
version=5.7.3
|
version=5.7.3
|
||||||
revision=4
|
revision=5
|
||||||
hostmakedepends="pkg-config unzip"
|
hostmakedepends="pkg-config unzip"
|
||||||
makedepends="bzip2-devel libressl-devel libnl-devel pciutils-devel"
|
makedepends="bzip2-devel libressl-devel libnl-devel pciutils-devel"
|
||||||
short_desc="Simple Network Management Protocol (SNMP) suite"
|
short_desc="Simple Network Management Protocol (SNMP) suite"
|
||||||
|
@ -15,6 +15,11 @@ checksum=e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e
|
||||||
LDFLAGS="-lpthread"
|
LDFLAGS="-lpthread"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
# Stop GNU grep from being stupid, and recognizing source code
|
||||||
|
# as binaries, resulting in further greps on that output to
|
||||||
|
# lack magic words.
|
||||||
|
export GREP='grep -a'
|
||||||
|
|
||||||
./configure ${configure_args} --enable-ucd-snmp-compatibility \
|
./configure ${configure_args} --enable-ucd-snmp-compatibility \
|
||||||
--enable-ipv6 --with-default-snmp-version="3" \
|
--enable-ipv6 --with-default-snmp-version="3" \
|
||||||
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \
|
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue