diff options
| author | Jack Nagel | 2014-11-14 14:35:07 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-14 14:46:44 -0600 |
| commit | 11acec6567d7e38d28f674721d24371bded2b306 (patch) | |
| tree | ec8efba0ccd01f4bc6dc936ae814ca570f8cb63e /Library/Formula | |
| parent | 63d7879e586b3ca3fbc5803d97bccff0061fd9fd (diff) | |
| download | homebrew-11acec6567d7e38d28f674721d24371bded2b306.tar.bz2 | |
dnsmasq: update idn option
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dnsmasq.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/dnsmasq.rb b/Library/Formula/dnsmasq.rb index b13c96b3d..e55eaf428 100644 --- a/Library/Formula/dnsmasq.rb +++ b/Library/Formula/dnsmasq.rb @@ -11,12 +11,14 @@ class Dnsmasq < Formula sha1 "66c145b8ed68c93ae0e7dcbc755b2151f94f5772" => :lion end - option "with-idn", "Compile with IDN support" + option "with-libidn", "Compile with IDN support" option "with-dnssec", "Compile with DNSSEC support" - depends_on "libidn" if build.with? "idn" - depends_on "nettle" if build.with? "dnssec" + deprecated_option "with-idn" => "with-libidn" + depends_on "pkg-config" => :build + depends_on "libidn" => :optional + depends_on "nettle" if build.with? "dnssec" def install ENV.deparallelize @@ -25,7 +27,7 @@ class Dnsmasq < Formula inreplace "src/config.h", "/etc/dnsmasq.conf", "#{etc}/dnsmasq.conf" # Optional IDN support - if build.with? "idn" + if build.with? "libidn" inreplace "src/config.h", "/* #define HAVE_IDN */", "#define HAVE_IDN" end |
