diff options
Diffstat (limited to 'Library/Formula/gettext.rb')
| -rw-r--r-- | Library/Formula/gettext.rb | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb index 668dd0059..81a82abc7 100644 --- a/Library/Formula/gettext.rb +++ b/Library/Formula/gettext.rb @@ -6,22 +6,25 @@ class Gettext <Formula @homepage='http://www.gnu.org/software/gettext/' def install + ENV.libxml2 # TODO seems like this package needs more optmisation # maybe someone can tell me how glib depends on gettext, but gettext # depends on glib and thus includes its own?! - - ENV['CFLAGS']+=' -I/usr/include/libxml2' - system "./configure --disable-debug --prefix='#{prefix}' --disable-dependency-tracking "+ -# '--disable-nls '+ - '--without-emacs --without-included-gettext '+ - '--without-included-glib --without-included-libcroco '+ - '--without-included-libxml' + system "./configure", "--disable-debug", + "--prefix=#{prefix}", + "--disable-dependency-tracking", + # '--disable-nls ', + '--without-emacs', + '--without-included-gettext', + '--without-included-glib', + '--without-included-libcroco', + '--without-included-libxml' system "make" - ENV['MAKEFLAGS']='' # can't parallel the install + ENV.deparallelize # install doesn't support multiple make jobs 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 |
