aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pkg-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pkg-config.rb')
-rw-r--r--Library/Formula/pkg-config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb
index d95229e4c..eb08fc5f5 100644
--- a/Library/Formula/pkg-config.rb
+++ b/Library/Formula/pkg-config.rb
@@ -8,7 +8,7 @@ class PkgConfig <Formula
#TODO depend on our glib if available. --with-installed-glib
def install
- system "./configure --with-pc-path=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:#{$root}/lib/pkgconfig --disable-debug --prefix='#{prefix}'"
+ system "./configure --with-pc-path=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:#{HOMEBREW_PREFIX}/lib/pkgconfig --disable-debug --prefix='#{prefix}'"
system "make install"
end
end \ No newline at end of file