aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-09-29 23:25:26 +0100
committerMax Howell2009-09-29 23:33:22 +0100
commitd704f4c9839119f11dea23f6bf5008bc6fd9992e (patch)
treeedb9b6d9692ec182806be85936b55685f9ce91dd /Library/Formula
parent38de6fcd15cbd79d0fc55206fdfb3e5230844ff9 (diff)
downloadhomebrew-d704f4c9839119f11dea23f6bf5008bc6fd9992e.tar.bz2
Readline is keg only, so use its prefix
The pkg-config stuff should not be necessary as our pkg-config includes our path already.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/guile.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb
index 05f1350d2..00e07cefb 100644
--- a/Library/Formula/guile.rb
+++ b/Library/Formula/guile.rb
@@ -14,8 +14,6 @@ class Guile <Formula
depends_on 'readline'
def install
- ENV['PKG_CONFIG_PATH'] = "#{HOMEBREW_PREFIX}/lib/pkgconfig"
-
system "./configure",
"--prefix=#{prefix}",
"--disable-debug",
@@ -25,7 +23,7 @@ class Guile <Formula
# /usr/lib to trump us, since it doesn't export
# all the same symbols
# --adamv
- "--with-libreadline-prefix=#{HOMEBREW_PREFIX}"
+ "--with-libreadline-prefix=#{Formula.factory('readline').prefix}"
system "make install"
end
end \ No newline at end of file