summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-02-14 10:17:07 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-02-14 10:17:07 +0000
commit6195f98c1f1797226ab2a09809a0eab38f351748 (patch)
tree0432b084b3f1be9f9b58469b6f179701d69ad926 /lang/perl5
parentUpdate 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>
Notes
Notes: svn path=/head/; revision=128764
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index f697736dda8d..041198d03854 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -38,6 +38,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>