From d4b598a09da504ca76e15a2e5ba9ad76adcc95d5 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Wed, 5 Feb 1997 15:38:45 +0000 Subject: Fix for problem indicated in PR #2666: Perl5 uses setlocale function. Recent jp-perl5 linked this order: libm libmalloc libc libcrypt libxpg4. the function of setlocale in libc has some problems for some locales (for example, ja_JP.EUC). It is needed to link libxpg4 before libc. I change to correct order in configure file of perl5. Submitted by: sampei@yy.cs.keio.ac.jp --- japanese/perl5/files/patch-aa | 2 +- japanese/perl5/pkg-descr | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) (limited to 'japanese/perl5') diff --git a/japanese/perl5/files/patch-aa b/japanese/perl5/files/patch-aa index e17501b21092..b2a851fdb981 100644 --- a/japanese/perl5/files/patch-aa +++ b/japanese/perl5/files/patch-aa @@ -23,7 +23,7 @@ libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl' libswanted="$libswanted dld ld sun m c cposix posix ndir dir crypt" -libswanted="$libswanted ucb bsd BSD PW x" -+libswanted="$libswanted ucb bsd BSD PW x xpg4" ++libswanted="xpg4 $libswanted ucb bsd BSD PW x" : We probably want to search /usr/shlib before most other libraries. : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` diff --git a/japanese/perl5/pkg-descr b/japanese/perl5/pkg-descr index 4e8fd4bf10e5..35dbbeae3bce 100644 --- a/japanese/perl5/pkg-descr +++ b/japanese/perl5/pkg-descr @@ -7,32 +7,6 @@ and jperl5.003.patch7_1 by yasushi@cs.washington.edu. -* known PROBLEMS - - If you set envirment variable `LANG' to ja_JP.EUC, - *jperl/perl* output `warning: setlocale(LC_CTYPE, "") failed.' - - I don't have solution. If you have, please contact me :-) - - If you do not need setting locale, edit Makefile as below - and reinstall jperl. - -Thank you. - --------- patch to Makefile ---- Makefile.org Sun Jan 12 22:17:05 1997 -+++ Makefile Sun Jan 12 22:17:36 1997 -@@ -40,7 +40,7 @@ - - HAS_CONFIGURE= yes - CONFIGURE_SCRIPT= Configure --CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} -+CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} -U d_setlocale - - MAN1= perlbook.1 perlbot.1 perlcall.1 perldata.1 perldebug.1 perldiag.1 \ - perlembed.1 perlform.1 perlfunc.1 perlguts.1 perlipc.1 perllol.1 \ ---------- - ----------- From lang/perl5/pkg/DESC From the distribution README: -- cgit v1.2.3