svn commit: r462055 - head/net/quagga/files

Kurt Jaeger pi at FreeBSD.org
Fri Feb 16 19:30:56 UTC 2018


Author: pi
Date: Fri Feb 16 19:30:55 2018
New Revision: 462055
URL: https://svnweb.freebsd.org/changeset/ports/462055

Log:
  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

Added:
  head/net/quagga/files/patch-configure   (contents, props changed)

Added: head/net/quagga/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/quagga/files/patch-configure	Fri Feb 16 19:30:55 2018	(r462055)
@@ -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


More information about the svn-ports-all mailing list