aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lldpd.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/Library/Formula/lldpd.rb b/Library/Formula/lldpd.rb
index e0286b51d..ef3805ce6 100644
--- a/Library/Formula/lldpd.rb
+++ b/Library/Formula/lldpd.rb
@@ -1,4 +1,4 @@
-require 'formula'
+Lrequire 'formula'
class Lldpd < Formula
homepage 'http://vincentbernat.github.io/lldpd/'
@@ -15,16 +15,16 @@ class Lldpd < Formula
depends_on 'jansson' if build.include? 'with-json'
def install
- readline = Formula.factory 'readline'
- args = [ "--prefix=#{prefix}",
- "--with-xml",
- "--with-readline",
- "--with-privsep-chroot=/var/empty",
- "--with-privsep-user=nobody",
- "--with-privsep-group=nogroup",
- "--with-launchddaemonsdir=no",
- "CPPFLAGS=-I#{readline.include} -DRONLY=1",
- "LDFLAGS=-L#{readline.lib}" ]
+ readline = Formula["readline"]
+ args = ["--prefix=#{prefix}",
+ "--with-xml",
+ "--with-readline",
+ "--with-privsep-chroot=/var/empty",
+ "--with-privsep-user=nobody",
+ "--with-privsep-group=nogroup",
+ "--with-launchddaemonsdir=no",
+ "CPPFLAGS=-I#{readline.include} -DRONLY=1",
+ "LDFLAGS=-L#{readline.lib}"]
args << "--with-snmp" if build.include? 'with-snmp'
args << "--with-json" if build.include? 'with-json'