From 352897291cc59c1bb373eac23f934abae3faf14f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 13 Jul 2013 17:44:56 +0200 Subject: [PATCH] osx: minimize differences with downstream Homebrew formula --- osx/lldpd.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osx/lldpd.rb b/osx/lldpd.rb index d68c2740..22dc928f 100644 --- a/osx/lldpd.rb +++ b/osx/lldpd.rb @@ -8,9 +8,9 @@ class Lldpd < Formula option 'with-snmp', "Build SNMP subagent support" option 'with-json', "Build JSON support for lldpcli" + depends_on 'pkg-config' => :build depends_on 'readline' depends_on 'libevent' - depends_on 'pkg-config' depends_on 'net-snmp' if build.include? 'with-snmp' depends_on 'jansson' if build.include? 'with-json' @@ -74,6 +74,7 @@ class Lldpd < Formula end plist_options :startup => true + def plist additional_args = "" if build.include? 'with-snmp' -- 2.39.5