Commit Graph
7 Commits
Author SHA1 Message Date
Adam Vandenberg 1a5b5773c8 gettext - fix Mac Pro 10.6 issue #540
LLVM -O4 doesn't work on Mac Pro.
2010-02-11 15:02:11 -08:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Max Howell 178dc49350 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.
2009-09-17 22:01:27 +01:00
Max Howell 4fe374dafd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Daniel Rodríguez Troitiño 9f033332f0 Added patch for environ problems in Gettext.
All Gettext binaries fail at runtime with linking problems related to the
environ variable. According to <http://www.mail-archive.com/bug-gnulib@gnu.org/msg09272.html>
the environ variable is missing from some platforms (between them MacOS X),
and autoconf test for it, and sets HAVE_ENVIRON_DECL accordingly. A common
workaround was declaring "extern char** environ" in the code if the OS didn't
provide the environ variable, but that doesn't work since 10.5. Since then you
have to use _NSGetEnviron() function declared in crt_externs.h. This
workaround works at least since 10.3. t

Signed-off-by: Max Howell <max@methylblue.com>

Closes #11
2009-09-16 15:33:30 +01:00
Max Howell d21205067c Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell 1ee9ac42dd Wireshark depends on glib depends on gettext 2009-06-06 23:54:52 +01:00