diff options
author | max <max@FreeBSD.org> | 1997-02-05 23:38:45 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-02-05 23:38:45 +0800 |
commit | fa5589aeca9d3a55892104e8728ee98d8f90ba76 (patch) | |
tree | 18f61f139077ec5dbe6cbc9afa6c0da5cadc266c /japanese/perl5 | |
parent | 60f16f366b8e90de9dc7127d8d85982c67492666 (diff) | |
download | freebsd-ports-gnome-fa5589aeca9d3a55892104e8728ee98d8f90ba76.tar.gz freebsd-ports-gnome-fa5589aeca9d3a55892104e8728ee98d8f90ba76.tar.zst freebsd-ports-gnome-fa5589aeca9d3a55892104e8728ee98d8f90ba76.zip |
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
Diffstat (limited to 'japanese/perl5')
-rw-r--r-- | japanese/perl5/files/patch-aa | 2 | ||||
-rw-r--r-- | japanese/perl5/pkg-descr | 26 |
2 files changed, 1 insertions, 27 deletions
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: |