Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Bruno Haible
Hello Tom, Thanks for the proposed patch. However, it is probably incomplete: need_charset_alias=false is only possible if the libc has nl_langinfo(CODESET) *and* it always returns the codesets normalized in the GNU way. It is possible that some newer version of FreeBSD has nl_langinfo(CODESET).

Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Paul Eggert
For what it's worth, I found a similar patch for another FreeBSD package. Alas, it's equally terse: ftp://ftp2.pl.freebsd.org/pub/FreeBSD/current/ports/misc/gnuit/files/patch-lib-Makefile

Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Eric Blake
On 12/23/2011 02:38 PM, Tom Limoncelli wrote: > On Fri, Dec 23, 2011 at 9:28 AM, Eric Blake wrote: >> That doesn't help much - gnulib/lib/Makefile.am is either a generated >> file, or a wrapper around a generated gnulib.mk include snippet, and you >> didn't even tell us which project this was on,

Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Tom Limoncelli
On Fri, Dec 23, 2011 at 9:28 AM, Eric Blake wrote: > That doesn't help much - gnulib/lib/Makefile.am is either a generated > file, or a wrapper around a generated gnulib.mk include snippet, and you > didn't even tell us which project this was on, so we don't know which > gnulib modules were in use

Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Paul Eggert
On 12/23/11 06:28, Eric Blake wrote: > Can you post the actual compile failure you are seeing, and provide more > details why adding freebsd to the list avoids the failures? I agree that more info is needed. Undoubtedly he's suggesting a change to Gnulib's modules/localcharset file. Possibly fr

Re: Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Eric Blake
On 12/23/2011 04:22 AM, Tom Limoncelli wrote: > I can't take credit for this... it comes from: > https://svn.csub.edu/p/freebsd/browser/freebsd/ports/trunk/textproc/augeas/files/patch-gnulib%3A%3Alib%3A%3AMakefile.am?rev=73 > > --- gnulib/lib/Makefile.am.orig 2010-04-28 14:46:00.0 -0700 >

Improve Gnulib's ability to compile on FreeBSD

2011-12-23 Thread Tom Limoncelli
I can't take credit for this... it comes from: https://svn.csub.edu/p/freebsd/browser/freebsd/ports/trunk/textproc/augeas/files/patch-gnulib%3A%3Alib%3A%3AMakefile.am?rev=73 --- gnulib/lib/Makefile.am.orig 2010-04-28 14:46:00.0 -0700 +++ gnulib/lib/Makefile.am      2010-04-28 14:47:00.