The following error occurs with USE="-nls": i686-gentoo-freebsd7.0-gcc -O2 -march=k8 -pipe -o fgrep fgrep.o fsearch.o kwset.o ../lib/libgreputils.a ../lib/libgreputils.a(obstack.o): In function `print_and_abort': obstack.c:(.text+0x305): undefined reference to `libintl_gettext' collect2: ld returned 1 exit status gmake[2]: *** [fgrep] Error 1 The patch grep-2.5.1a-nls.patch from the previous version (after a little update) fixes the problem.
Created attachment 177394 [details, diff] grep-2.5.3-nls.patch Updated patch with the occurrences of HAVE_LIBINTL_H checked against ENABLE_NLS.
clean up the patch and it should be fine to commit http://dev.gentoo.org/~vapier/clean-patches
Comitted with a cleaned up patch. <3 scrub_patch btw.
Please readd the nls patch in 2.5.4 version
seems Timothy re-added the patch a year ago ...