Commit Graph

5 Commits (43f4d5a124ead0de1996c8cbb9fb8a8c8c0d5ab1)

Author SHA1 Message Date
Max Howell bd67abc121 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 3b4dac6ddd 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 0da74e36e8 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 Homebrew/homebrew#11
2009-09-16 15:33:30 +01:00
Max Howell aa14a25a43 Apply new ENV capabilities to all existing Formulae 2009-08-10 18:11:22 +01:00
Max Howell c70918c00b Wireshark depends on glib depends on gettext 2009-06-06 23:54:52 +01:00