Permalink
Browse files

pdns: add option for remote backend (#16694)

  • Loading branch information...
csawyerYumaed authored and ilovezfs committed Aug 22, 2017
1 parent c859c03 commit f8290ef79650a31eaa0fc256157004d7e6b93b8c
Showing with 3 additions and 0 deletions.
  1. +3 −0 Formula/pdns.rb
View
@@ -20,6 +20,7 @@ class Pdns < Formula
end
option "with-postgresql", "Enable the PostgreSQL backend"
option "with-remote", "enable the Remote backend"
deprecated_option "pgsql" => "with-postgresql"
deprecated_option "with-pgsql" => "with-postgresql"
@@ -42,6 +43,8 @@ def install
# Include the PostgreSQL backend if requested
if build.with? "postgresql"
args << "--with-modules=gsqlite3 gpgsql"
elsif build.with? "remote"
args << "--with-modules=gsqlite3 remote"
else
# SQLite3 backend only is the default
args << "--with-modules=gsqlite3"

0 comments on commit f8290ef

Please sign in to comment.