mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/net-snmp: fix sed path
This commit is contained in:
parent
1845e13bba
commit
808f80291f
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ build() {
|
|||
|
||||
# ALARM: don't use PCI on v5/v6
|
||||
if [ "$CARCH" = "arm" -o "$CARCH" = "armv6h" ]; then
|
||||
sed -i 's/HAVE_PCI_LOOKUP_NAME 1/HAVE_PCI_LOOKUP_NAME 0/' net-snmp-config.h
|
||||
sed -i 's/HAVE_PCI_PCI_H 1/HAVE_PCI_PCI_H 0/' net-snmp-config.h
|
||||
sed -i 's/HAVE_PCI_LOOKUP_NAME 1/HAVE_PCI_LOOKUP_NAME 0/' include/net-snmp/net-snmp-config.h
|
||||
sed -i 's/HAVE_PCI_PCI_H 1/HAVE_PCI_PCI_H 0/' include/net-snmp/net-snmp-config.h
|
||||
fi
|
||||
|
||||
make NETSNMP_DONT_CHECK_VERSION=1
|
||||
|
|
Loading…
Reference in a new issue