mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
d4b598a09d
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
30 lines
1021 B
Plaintext
30 lines
1021 B
Plaintext
--- Configure.orig Sat Jan 11 15:16:14 1997
|
|
+++ Configure Sat Jan 11 15:22:42 1997
|
|
@@ -85,11 +85,12 @@
|
|
PATH=.$p_$PATH
|
|
export PATH
|
|
|
|
-: Sanity checks
|
|
-if test ! -t 0; then
|
|
- echo "Say 'sh $me', not 'sh <$me'"
|
|
- exit 1
|
|
-fi
|
|
+#: Sanity checks (Disabled for FreeBSD build - users coming here [ws]ould
|
|
+# know what they are doing anyway) ;-) MarkM
|
|
+#if test ! -t 0; then
|
|
+# echo "Say 'sh $me', not 'sh <$me'"
|
|
+# exit 1
|
|
+#fi
|
|
|
|
: On HP-UX, large Configure scripts may exercise a bug in /bin/sh
|
|
if test -f /hp-ux -a -f /bin/ksh; then
|
|
@@ -709,7 +710,7 @@
|
|
: List of libraries we want.
|
|
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="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 ! !'`
|