From: Vincent Bernat Date: Sun, 28 Feb 2016 12:25:10 +0000 (+0100) Subject: osx: reduce differences with official homebrew formula X-Git-Tag: 0.9.2~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61ae835385f8f20f1fd495a8ed0d8d2fbb4e4006;p=thirdparty%2Flldpd.git osx: reduce differences with official homebrew formula --- diff --git a/osx/lldpd.rb b/osx/lldpd.rb index d1c43fb8..a08938da 100644 --- a/osx/lldpd.rb +++ b/osx/lldpd.rb @@ -11,7 +11,7 @@ class Lldpd < Formula depends_on "readline" depends_on "libevent" depends_on "net-snmp" if build.with? "snmp" - depends_on "jansson" if build.with? "json" + depends_on "jansson" if build.with? "json" def install readline = Formula["readline"] @@ -34,8 +34,8 @@ class Lldpd < Formula system "make", "install" end - def postinstall - (var/"run/lldpd").mkpath + def post_install + (var/"run").mkpath end def dscl(*args)