Date: Mon, 14 Feb 2005 15:50:27 GMT From: "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/76585: lang/clisp: UTF8 locales break build Message-ID: <200502141550.j1EFoRwl053395@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/76585; it has been noted by GNATS. From: "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org> To: pav@FreeBSD.org, "freebsd problem reports" <FreeBSD-gnats-submit@freebsd.org> Cc: Subject: Re: ports/76585: lang/clisp: UTF8 locales break build Date: 14 Feb 2005 16:46:45 +0100 * 2005-02-07 Pav Lucistnik: > Hmm interesting. So you have a working tested patch? this one works. i got it from ports/lang/perl5.8. seems one has to reset each and every one of the locales-related environment variables. i think you can safely commit it, and it might well work in other cases where locales break building. clemens --- Makefile.0 Mon Feb 14 13:06:26 2005 +++ Makefile Mon Feb 14 13:12:35 2005 @@ -22,11 +22,18 @@ USE_GCC= 2.95 USE_GETTEXT= yes +# -ino: 20050214-1307 taken from lang/perl5.8: +LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ + LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ + LC_TIME="" +CONFIGURE_ENV+= ${LOCALE_CLEANUP} +MAKE_ENV+= ${LOCALE_CLEANUP} + # In clisp-2.28, the build dies in the "regexp" module: the build target # invokes a configure script, which encounters a different CC variable than # the one the top-level configure cached. We'll explicitly set CC to avoid # this. -MAKE_ENV+= CC="${CC}" LANG=C +MAKE_ENV+= CC="${CC}" CONFIGURE_ENV+= CC="${CC}" # The build uses INSTALL_* to copy files around, but since the Ports
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502141550.j1EFoRwl053395>