aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-01 14:10:13 -0600
committerJack Nagel2012-02-01 14:10:13 -0600
commitb2b5db45908ce6468c22d9485f61acb98088c03b (patch)
treed6c5f2f0bb4b31ff6a201ba73db75f583f60bb20 /Library/Formula
parent8fefc6086ca2255bb9d8ce4c3f17e23b067503c9 (diff)
downloadhomebrew-b2b5db45908ce6468c22d9485f61acb98088c03b.tar.bz2
dia: fix build on Leopard
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dia.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/dia.rb b/Library/Formula/dia.rb
index 495a29310..7702a1009 100644
--- a/Library/Formula/dia.rb
+++ b/Library/Formula/dia.rb
@@ -13,6 +13,8 @@ class Dia < Formula
depends_on 'gtk+'
def install
+ ENV.x11
+ inreplace 'objects/GRAFCET/boolequation.c', 'isspecial', 'char_isspecial'
system "./configure", "--prefix=#{prefix}"
system "make install"
rm_rf share+"applications"