From 61ae835385f8f20f1fd495a8ed0d8d2fbb4e4006 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 28 Feb 2016 13:25:10 +0100 Subject: [PATCH] osx: reduce differences with official homebrew formula --- osx/lldpd.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5