From: Vincent Bernat Date: Sat, 13 Jul 2013 15:44:56 +0000 (+0200) Subject: osx: minimize differences with downstream Homebrew formula X-Git-Tag: 0.7.7~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=352897291cc59c1bb373eac23f934abae3faf14f;p=thirdparty%2Flldpd.git osx: minimize differences with downstream Homebrew formula --- 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'