aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authormax furman2014-05-28 14:32:27 -0700
committerJack Nagel2014-05-29 12:49:11 -0500
commita8efe03f97a4776a6a8256a0bfee61bdaa864dd5 (patch)
treebd02676658c4ecb544e2b1e65a69a8478faa60eb /Library/Formula
parent9ca8e7df46703433a7c95f39fa7e9d32248debf3 (diff)
downloadhomebrew-a8efe03f97a4776a6a8256a0bfee61bdaa864dd5.tar.bz2
genders: add --with-non-shortened-hostnames option
Closes #29667. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/genders.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/genders.rb b/Library/Formula/genders.rb
index 41ef94e20..77aafc033 100644
--- a/Library/Formula/genders.rb
+++ b/Library/Formula/genders.rb
@@ -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