Mercurial > hg > control-images
view images/lfs-bootstrap/mnt/build/gettext.sh @ 19:b151b87ddf35
The installed files should be world readable.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 06 Nov 2011 09:27:37 -0600 |
parents | bcd2e358d57f |
children |
line wrap: on
line source
#!/bin/sh # Swap out incestuous knowledge of the internals of glibc for incestuous # knowledge of the internals of uClibc. (The resulting code should never # trigger anyway, but it needs to be able to _compile_...) sed -i 's/thread_locale->__names\[category]/thread_locale->cur_locale/' \ gettext-runtime/intl/localename.c gettext-tools/gnulib-lib/localename.c && sed -i 's%LIBS = @LIBS@%LIBS = @LIBS@ ../libgrep/libgrep.a%' \ gettext-tools/src/Makefile.in gettext-tools/tests/Makefile.in && ./configure --prefix=/usr --docdir=/usr/share/doc/gettext && make -j $CPUS || exit 1 if [ ! -z "$DOCS" ] then make check || exit 1 fi make install