1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Masafumi Max NAKANE 1997-02-05 15:38:45 +00:00
parent 1ec431b791
commit d4b598a09d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5541
2 changed files with 1 additions and 27 deletions

View File

@ -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 ! !'`

View File

@ -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: