aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-11 15:14:08 -0600
committerJack Nagel2012-02-11 15:14:08 -0600
commit16b1d51278ff67e2a25978dae75d327637976761 (patch)
treedde06ba884e5ec5d0f9a71bd45d0043441207547 /Library/Formula
parent54c01ff65a3ad307d1608fd6e3a94a38613b2b05 (diff)
downloadhomebrew-16b1d51278ff67e2a25978dae75d327637976761.tar.bz2
asymptote: fix build with clang
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/asymptote.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb
index 3b0d36e16..3bf92f8f2 100644
--- a/Library/Formula/asymptote.rb
+++ b/Library/Formula/asymptote.rb
@@ -22,6 +22,9 @@ class Asymptote < Formula
texmfhome = share + 'texmf'
+ # see: https://sourceforge.net/tracker/?func=detail&aid=3486838&group_id=120000&atid=685683
+ inreplace 'configure', '--no-var-tracking', '' if ENV.compiler == :clang
+
system "./configure", "--prefix=#{prefix}",
"--enable-gc=#{HOMEBREW_PREFIX}",
"--with-latex=#{texmfhome}/tex/latex",