aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2018-02-17 03:30:55 +0800
committerpi <pi@FreeBSD.org>2018-02-17 03:30:55 +0800
commit71686b348840d60e40bcca840b3dc1995a7caa5b (patch)
tree7fc77e81ae84cb20f2a11204c6e992c0c77931c5 /net
parentcaee3f36762f4f0839009b133af94b174bbf42d2 (diff)
downloadfreebsd-ports-gnome-71686b348840d60e40bcca840b3dc1995a7caa5b.tar.gz
freebsd-ports-gnome-71686b348840d60e40bcca840b3dc1995a7caa5b.tar.zst
freebsd-ports-gnome-71686b348840d60e40bcca840b3dc1995a7caa5b.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/quagga/files/patch-configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/quagga/files/patch-configure b/net/quagga/files/patch-configure
new file mode 100644
index 000000000000..547b7de15c8f
--- /dev/null
+++ b/net/quagga/files/patch-configure
@@ -0,0 +1,12 @@
+--- 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