aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-26 22:06:41 -0700
committerAdam Vandenberg2012-08-26 22:06:41 -0700
commit55fc884ab11fa6473ad613741e66bc9024b52ec6 (patch)
tree4cd2c4137ac3e5779653e7a4e08c7ce6005fd8ee
parent20ae8552f0bd5e52be9f3a054fb5c1b52fee39fe (diff)
downloadhomebrew-55fc884ab11fa6473ad613741e66bc9024b52ec6.tar.bz2
rxvt-unicode: use new dsl
-rw-r--r--Library/Formula/rxvt-unicode.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb
index 630ae4e67..5c74c300d 100644
--- a/Library/Formula/rxvt-unicode.rb
+++ b/Library/Formula/rxvt-unicode.rb
@@ -1,16 +1,13 @@
require 'formula'
class RxvtUnicode < Formula
- url 'http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.15.tar.bz2'
homepage 'http://software.schmorp.de/pkg/rxvt-unicode.html'
+ url 'http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.15.tar.bz2'
sha1 'e6fdf091860ecb458730dc68b0176f67f207a2f7'
- depends_on 'pkg-config' => :build
+ option "disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"
- fails_with :llvm do
- build 2336
- cause "memory fences not defined for your architecture"
- end
+ depends_on 'pkg-config' => :build
def patches
# Patch hunks 1 and 2 allow perl support to compile on Intel.
@@ -19,8 +16,9 @@ class RxvtUnicode < Formula
DATA
end
- def options
- [["--disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey"]]
+ fails_with :llvm do
+ build 2336
+ cause "memory fences not defined for your architecture"
end
def install
@@ -33,7 +31,7 @@ class RxvtUnicode < Formula
"--with-terminfo=/usr/share/terminfo",
"--enable-smart-resize"]
- args << "--disable-iso14755" if ARGV.include? "--disable-iso14755"
+ args << "--disable-iso14755" if build.include? "disable-iso14755"
system "./configure", *args
system "make"