diff options
author | pi <pi@FreeBSD.org> | 2018-02-17 03:30:55 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2018-02-17 03:30:55 +0800 |
commit | 71686b348840d60e40bcca840b3dc1995a7caa5b (patch) | |
tree | 7fc77e81ae84cb20f2a11204c6e992c0c77931c5 /net | |
parent | caee3f36762f4f0839009b133af94b174bbf42d2 (diff) | |
download | freebsd-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-configure | 12 |
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 |