ports/76585: lang/clisp: UTF8 locales break build
Clemens Fischer
ino-qc at spotteswoode.dnsalias.org
Wed Feb 2 16:40:24 UTC 2005
The following reply was made to PR ports/76585; it has been noted by GNATS.
From: "Clemens Fischer" <ino-qc at spotteswoode.dnsalias.org>
To: freebsd-gnats-submit at FreeBSD.org,
ino-qc at spotteswoode.dnsalias.org
Cc:
Subject: Re: ports/76585: lang/clisp: UTF8 locales break build
Date: 2 Feb 2005 17:39:41 +0100
"LANG=C" didn't cut it. environ(7) says the "$LC*" variables take precedence,
so i thought:
-MAKE_ENV+= CC="${CC}" LANG=C
+MAKE_ENV+= CC="${CC}" LC_ALL=C
but this didn't fix it, either. an explicit "export LC_ALL=C" is needed and
sufficient before starting the build. unfortunately, i don't know how to
achieve this using make(1). we'd need a shell wrapper if only for globally
setting "$LC*" stuff.
as a workaround, "LC_ALL=C make LC_ALL=C" works.
"ports/ftp/curl" contains:
# Setting LC_ALL=C is a kludge; maybe curl/libcurl shouldn't actually use
# the user's locale when dates are sent to the server.
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LC_ALL=C ${MAKE} test
would it be possible to use a "pre-build" target in a similiar way?
clemens
More information about the freebsd-ports-bugs
mailing list