diff options
| author | Max Howell | 2009-09-21 20:22:09 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-21 20:23:09 +0100 |
| commit | 6786e52811d39afa6e3a24b099f631b4eaae2da2 (patch) | |
| tree | 3fb6bc75f72da711a0510c8883acf38031c701e6 /Library/Formula | |
| parent | 0bba4245fcca68010ae848c73687329bfb5b6b05 (diff) | |
| download | homebrew-6786e52811d39afa6e3a24b099f631b4eaae2da2.tar.bz2 | |
Automatically add keg_only? deps to relevent ENV
Eg gettext gets added into LDFLAGS, INCLUDE and that. I hope I got everything
that is typical. Prolly not. But we'll find out.
Made readline keg_only because the BSD version is provided by OS X, and I
don't want bug reports that are tricky to solve due to unexpected differences
between the two.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/glib.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/readline.rb | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index 155240fc7..3d61fa225 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -16,8 +16,6 @@ class Glib <Formula depends_on 'gettext' def install - ENV.gnu_gettext - # Snow Leopard libiconv doesn't have a 64bit version of the libiconv_open # function, which breaks things for us, so we build our own # http://www.mail-archive.com/gtk-list@gnome.org/msg28747.html diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb index 78105ee3a..e771de192 100644 --- a/Library/Formula/readline.rb +++ b/Library/Formula/readline.rb @@ -5,6 +5,13 @@ class Readline <Formula @homepage='http://tiswww.case.edu/php/chet/readline/rltop.html' @md5='b7f65a48add447693be6e86f04a63019' + def keg_only? ; <<-EOS +OS X provides the BSD Readline library. In order to prevent conflicts when +programs look for libreadline we are defaulting this GNU Readline installation +to keg-only. + EOS + end + def install system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", |
