aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rxvt-unicode.rb23
1 files changed, 15 insertions, 8 deletions
diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb
index 4011fcd54..d812d6643 100644
--- a/Library/Formula/rxvt-unicode.rb
+++ b/Library/Formula/rxvt-unicode.rb
@@ -14,16 +14,23 @@ class RxvtUnicode < Formula
DATA
end
+ def options
+ [["--disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"]]
+ end
+
def install
- system "./configure", "--prefix=#{prefix}",
- "--mandir=#{man}",
- "--disable-afterimage",
- "--enable-perl",
- "--enable-256-color",
- "--with-term=rxvt-unicode-256color",
- "--with-terminfo=/usr/share/terminfo",
- "--enable-smart-resize"
+ args = ["--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--disable-afterimage",
+ "--enable-perl",
+ "--enable-256-color",
+ "--with-term=rxvt-unicode-256color",
+ "--with-terminfo=/usr/share/terminfo",
+ "--enable-smart-resize"]
+
+ args << "--disable-iso14755" if ARGV.include? "--disable-iso14755"
+ system "./configure", *args
system "make"
# `make` won't work unless we rename this because of HFS's default case-insensitivity
system "mv INSTALL README.install"