diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2005-02-14 10:17:07 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2005-02-14 10:17:07 +0000 |
commit | 6195f98c1f1797226ab2a09809a0eab38f351748 (patch) | |
tree | 0432b084b3f1be9f9b58469b6f179701d69ad926 /lang/perl5.8/Makefile | |
parent | Update to version 1.5.8 (diff) |
If one of locale-related variables set to a bad value in the user's
environment (like da_DK.ISO_8859-15 as opposed to da_DK.ISO8859-15 on
-CURRENT), perl ports cannot be built. While this condition clearly is
an operator error, it is still no excuse for the build failure.
Fix that by cleaning locale-related variables for configure and build
steps. No plist changes, no portrevision bump.
Reported by: Flemming Jacobsen <fj quite-at batmule maybe-dot dk>
Diffstat (limited to 'lang/perl5.8/Makefile')
-rw-r--r-- | lang/perl5.8/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile index ba5fd45a0754..f349ce63a9e9 100644 --- a/lang/perl5.8/Makefile +++ b/lang/perl5.8/Makefile @@ -39,6 +39,11 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ -Ui_malloc -Ui_iconv -Uinstallusrbinperl \ -Dcc="${CC}" -Doptimize="${CFLAGS}" -Duseshrplib \ -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\" +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} .include "Makefile.man" .include <bsd.port.pre.mk> |