genders: add --with-non-shortened-hostnames option
Closes Homebrew/homebrew#29667. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
3168be1f12
commit
d44721c023
1 changed files with 7 additions and 1 deletions
|
@ -5,8 +5,14 @@ class Genders < Formula
|
|||
url 'https://downloads.sourceforge.net/project/genders/genders/1.20-1/genders-1.20.tar.gz'
|
||||
sha1 '3a1f3f7897c5443edb4d06bd8093b505078454e8'
|
||||
|
||||
option "with-non-shortened-hostnames", "Allow non shortened hostnames that can include dots e.g. www.google.com"
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
args = ["--prefix=#{prefix}"]
|
||||
|
||||
args << "--with-non-shortened-hostnames" if build.with? "non-shortened-hostnames"
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue