From 77a9feec10c09ef19dd5797c7e79cb9935595992 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 25 May 2014 20:59:59 -0500 Subject: rxvt-unicode: disable perl when compiling with clang Closes #27955. --- Library/Formula/rxvt-unicode.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3