aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ushare.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ushare.rb b/Library/Formula/ushare.rb
index 45c0d8c49..c03a64012 100644
--- a/Library/Formula/ushare.rb
+++ b/Library/Formula/ushare.rb
@@ -17,7 +17,7 @@ class Ushare < Formula
ENV.append 'CFLAGS', '-std=gnu89'
# Need to explicitly add intl and gettext here.
- gettext = Formula.factory("gettext")
+ gettext = Formula["gettext"]
ENV.append 'CFLAGS', "-I#{gettext.include}"
ENV.append 'LDFLAGS', "-lintl"