Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2018 19:30:55 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462055 - head/net/quagga/files
Message-ID:  <201802161930.w1GJUtHo080266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802161930.w1GJUtHo080266>