summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-09-24 12:23:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-09-24 12:23:10 +0000
commitcd171d8eede777747d3b568fd248bbccc8667330 (patch)
tree24464176eb3f742d97dd6bbb3a08651b3cc2f07d /gnu/usr.bin
parent312ac6adb4aaa20d39d52db54349efa5c767b178 (diff)
Tell perl not to attempt to use LC_COLLATE or LC_NUMERIC which we
don't yet support. OK stsp@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index 74d5da6e7d9..ce5f2af737a 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.85 2011/06/23 22:46:12 schwarze Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.86 2011/09/24 12:23:09 millert Exp $
#
# Build wrapper for Perl 5.10.0
#
@@ -19,7 +19,7 @@ CFLAGS+= -fno-strict-aliasing
CFLAGS+= -fno-delete-null-pointer-checks
.endif
-CONFIGURE_ARGS= -dsE -Dopenbsd_distribution=defined
+CONFIGURE_ARGS= -dsE -Dopenbsd_distribution=defined -Dccflags='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE'
.if defined(THREADED_PERL) && ($(THREADED_PERL) == true)
CONFIGURE_ARGS+= -Dusethreads
CFLAGS+= -pthread
@@ -52,7 +52,7 @@ DYNALOADER=ext/DynaLoader/dl_dlopen.xs
# Arguments passed to Configure...
-CPPFLAGS+= -DPERL_CORE -DPERL_RANDOM_DEVICE=\"/dev/arandom\" -I.
+CPPFLAGS+= -DPERL_CORE -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -DPERL_RANDOM_DEVICE=\"/dev/arandom\" -I.
.if defined (INSTALL_STRIP) && ${INSTALL_STRIP} == "-s"
STRIPFLAGS='-s'