diff options
| author | Max Howell | 2009-07-31 02:51:17 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-31 04:59:02 +0100 |
| commit | 118b41bfcdb13a4fec8da48e35de162ac62fe65c (patch) | |
| tree | c9fdffd72da6a8a53b5fac4529aefaf7f7df4129 /Library/Formula/pkg-config.rb | |
| parent | 1d4e18988019e14e90646018072f83e988531820 (diff) | |
| download | homebrew-118b41bfcdb13a4fec8da48e35de162ac62fe65c.tar.bz2 | |
Refactor $foo into HOMEBREW_FOO
CONSTANTS are the far saner choice for these important parameters.
Split env up so I can redefine the CONSTANTS in unittest.rb.
Diffstat (limited to 'Library/Formula/pkg-config.rb')
| -rw-r--r-- | Library/Formula/pkg-config.rb | 2 |
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 |
