ports/76585: lang/clisp: UTF8 locales break build
Clemens Fischer
ino-qc at spotteswoode.de.eu.org
Mon Feb 14 15:50:27 UTC 2005
The following reply was made to PR ports/76585; it has been noted by GNATS.
From: "Clemens Fischer" <ino-qc at spotteswoode.de.eu.org>
To: pav at FreeBSD.org,
"freebsd problem reports" <FreeBSD-gnats-submit at 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
More information about the freebsd-ports-bugs
mailing list