ports/net/quagga/files/patch-configure
Kurt Jaeger 6cc674207e net/quagga: fix build if SNMP is not selected
- configure script tries to detect net-snmp even if not requested,
  but fails, if net-snmp is not installed.

Reported by:	antoine, garga
2018-02-16 19:30:55 +00:00

12 lines
375 B
Text

--- configure.orig 2017-10-03 14:59:10 UTC
+++ configure
@@ -22070,7 +22070,7 @@ fi
fi
-if test "${enable_snmp}" != ""; then
+if test "x${enable_snmp}" != "xno"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2