]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: minimize differences with downstream Homebrew formula
authorVincent Bernat <bernat@luffy.cx>
Sat, 13 Jul 2013 15:44:56 +0000 (17:44 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sat, 13 Jul 2013 15:44:56 +0000 (17:44 +0200)
osx/lldpd.rb

index d68c274009914f77c795491089dc328d0785fd09..22dc928fecd912db7107b479d2d46503a9642524 100644 (file)
@@ -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'