aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-06-11 21:01:32 -0700
committerAdam Vandenberg2012-06-11 21:01:50 -0700
commit3d5aa078a1f570696d12fe8a08340c242b6f2400 (patch)
tree31b60d7ea36752060c50c167ae2b6e66cc4aff7b /Library/Formula
parentf7903a27fb39487bc095a88c50abcd7781d5bd57 (diff)
downloadhomebrew-3d5aa078a1f570696d12fe8a08340c242b6f2400.tar.bz2
geany: fix compilation against current glib
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geany.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/geany.rb b/Library/Formula/geany.rb
index 879494ab8..7b4754286 100644
--- a/Library/Formula/geany.rb
+++ b/Library/Formula/geany.rb
@@ -11,9 +11,15 @@ class Geany < Formula
depends_on 'gtk+'
def install
+ # Needed to compile against current version of glib.
+ # Check that this is still needed when updating the formula.
+ ENV.append 'LDFLAGS', '-lgmodule-2.0'
+
intltool = Formula.factory('intltool')
ENV.append "PATH", intltool.bin, ":"
- system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
system "make install"
end
end