aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKieran Ramos2013-09-04 13:52:17 -0400
committerJack Nagel2013-10-18 19:26:33 -0500
commitbf72ed8e6a6de86c62b4000095eda6a0ddf0d148 (patch)
tree4d244409ca93805985bdc958f3f2a39309cb39b3 /Library/Formula
parent46aa0f1bf8b76b48299b237e3f5cafb086b8045b (diff)
downloadhomebrew-bf72ed8e6a6de86c62b4000095eda6a0ddf0d148.tar.bz2
gobject-introspection: override GOBJECT_INTROSPECTION_LIBDIR
Signed-off-by: Kieran Ramos <ramos.kieran@gmail.com> Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gobject-introspection.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/gobject-introspection.rb b/Library/Formula/gobject-introspection.rb
index c7c78d637..474638143 100644
--- a/Library/Formula/gobject-introspection.rb
+++ b/Library/Formula/gobject-introspection.rb
@@ -17,6 +17,9 @@ class GobjectIntrospection < Formula
def install
ENV.universal_binary if build.universal?
inreplace 'giscanner/transformer.py', '/usr/share', HOMEBREW_PREFIX/'share'
+ inreplace 'configure' do |s|
+ s.change_make_var! 'GOBJECT_INTROSPECTION_LIBDIR', HOMEBREW_PREFIX/'lib'
+ end
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end