Date: Wed, 2 Feb 2005 16:40:23 GMT From: "Clemens Fischer" <ino-qc@spotteswoode.dnsalias.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/76585: lang/clisp: UTF8 locales break build Message-ID: <200502021640.j12GeNSv094492@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.dnsalias.org> To: freebsd-gnats-submit@FreeBSD.org, ino-qc@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502021640.j12GeNSv094492>