diff options
| author | Adam Vandenberg | 2014-02-26 19:36:54 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:23 -0800 | 
| commit | 522c5517e75a9ee50aa30a51722677bc67cd7495 (patch) | |
| tree | 477043f1f58aadd9bd2f2af64a73a45b445ef476 /Library/Formula | |
| parent | db7955f097df17590b2754a34d204d8145979d30 (diff) | |
| download | homebrew-522c5517e75a9ee50aa30a51722677bc67cd7495.tar.bz2 | |
lldpd: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/lldpd.rb | 22 | 
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'  | 
