aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-29 12:33:19 -0700
committerAdam Vandenberg2011-03-29 12:34:57 -0700
commitac9a8528a5478edc28d93ddd1b7a14467cb0a00e (patch)
tree0de271aca8d040d66d15d84412d5d83b142da219 /Library
parentfc30dd13f292a9e20fe1dcb0c1089c2376f0b652 (diff)
downloadhomebrew-ac9a8528a5478edc28d93ddd1b7a14467cb0a00e.tar.bz2
ushare - fix gettext include
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ushare.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ushare.rb b/Library/Formula/ushare.rb
index e5c74a935..82fa2dc05 100644
--- a/Library/Formula/ushare.rb
+++ b/Library/Formula/ushare.rb
@@ -17,7 +17,9 @@ class Ushare < Formula
def install
# Need to explicitly add gettext here.
+ gettext = Formula.factory("gettext")
ENV.append 'LDFLAGS', "-lintl"
+ ENV.append 'CFLAGS', "-I#{gettext.include}"
inreplace 'configure', /config.h/, 'src/config.h'
system "./configure", "--disable-debug",