aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-25 20:59:59 -0500
committerJack Nagel2014-05-25 20:59:59 -0500
commit77a9feec10c09ef19dd5797c7e79cb9935595992 (patch)
tree773465aa4c6ad3a7c621aabca82e3fe5e0bc8bf8 /Library
parentb26c19a3d2da2c2feb95b117d61d87d8d76bd803 (diff)
downloadhomebrew-77a9feec10c09ef19dd5797c7e79cb9935595992.tar.bz2
rxvt-unicode: disable perl when compiling with clang
Closes #27955.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rxvt-unicode.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb
index ea57585ba..af2d2102d 100644
--- a/Library/Formula/rxvt-unicode.rb
+++ b/Library/Formula/rxvt-unicode.rb
@@ -22,14 +22,15 @@ class RxvtUnicode < Formula
end
def install
- args = ["--prefix=#{prefix}",
- "--mandir=#{man}",
- "--enable-perl",
- "--enable-256-color",
- "--with-term=rxvt-unicode-256color",
- "--with-terminfo=/usr/share/terminfo",
- "--enable-smart-resize"]
+ args = %W[
+ --prefix=#{prefix}
+ --enable-256-color
+ --with-term=rxvt-unicode-256color
+ --with-terminfo=/usr/share/terminfo
+ --enable-smart-resize
+ ]
+ args << "--disable-perl" if ENV.compiler == :clang
args << "--disable-iso14755" if build.include? "disable-iso14755"
system "./configure", *args