diff options
| author | Max Howell | 2009-09-17 21:10:39 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-17 22:01:27 +0100 |
| commit | 178dc49350029685eeee7b86704455ebc9d99760 (patch) | |
| tree | 52b772d09cb5125145cea5ee68d4c15a323061fc /Library/Formula/gettext.rb | |
| parent | 01b640a8404c1bdd4130bfa693c39e9f0bc04606 (diff) | |
| download | homebrew-178dc49350029685eeee7b86704455ebc9d99760.tar.bz2 | |
Solving the GNU GetText issues
GNU GetText breaks eg. Ruby 1.9 builds, and some other formula I have been building too. But it is required by eg. glib. So to solve this we are going to by default not symlink gettext into the Homebrew prefix.
Formula that depend on GetText will have the gettext paths added to the brewing environment automatically. Neat.
Diffstat (limited to 'Library/Formula/gettext.rb')
| -rw-r--r-- | Library/Formula/gettext.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb index 9f5a9bfe1..c52e99d74 100644 --- a/Library/Formula/gettext.rb +++ b/Library/Formula/gettext.rb @@ -4,11 +4,15 @@ class Gettext <Formula @url='http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz' @md5='58a2bc6d39c0ba57823034d55d65d606' @homepage='http://www.gnu.org/software/gettext/' - + def patches 'http://gist.github.com/raw/186336/2fe65fab894f94a03aab2f03349ae7f1febcd301/mac-osx-105-environ.patch' end + def keg_only? + "OS X provides the BSD gettext library and some software gets confused if both are in the library path." + end + def install ENV.libxml2 # TODO seems like this package needs more optmisation @@ -28,9 +32,5 @@ class Gettext <Formula system "make install" (doc+'examples').rmtree unless ARGV.include? '--with-examples' - - def caveats - "GNU gettext is bloated and manky, please try not to depend on it" - end end end |
