extra/net-snmp: fix sed path

This commit is contained in:
Kevin Mihelich 2013-02-05 04:41:19 +00:00
parent 1845e13bba
commit 808f80291f

View file

@ -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