Change 23909 by [EMAIL PROTECTED] on 2005/01/31 11:33:14
Subject: [perl #33998] [PATCH] Support for GNU/kFreeBSD
From: "[EMAIL PROTECTED] (via RT)" <[EMAIL PROTECTED]>
Date: 31 Jan 2005 07:37:55 -0000
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/Configure#571 edit
... //depot/perl/ext/DynaLoader/hints/gnukfreebsd.pl#1 add
... //depot/perl/ext/DynaLoader/hints/gnuknetbsd.pl#1 add
... //depot/perl/ext/NDBM_File/hints/gnukfreebsd.pl#1 add
... //depot/perl/ext/NDBM_File/hints/gnuknetbsd.pl#1 add
... //depot/perl/ext/ODBM_File/hints/gnukfreebsd.pl#1 add
... //depot/perl/ext/ODBM_File/hints/gnuknetbsd.pl#1 add
... //depot/perl/ext/POSIX/hints/gnukfreebsd.pl#1 add
... //depot/perl/ext/POSIX/hints/gnuknetbsd.pl#1 add
... //depot/perl/ext/Storable/hints/gnukfreebsd.pl#1 add
... //depot/perl/ext/Storable/hints/gnuknetbsd.pl#1 add
... //depot/perl/hints/gnukfreebsd.sh#1 add
... //depot/perl/hints/gnuknetbsd.sh#1 add
Differences ...
==== //depot/perl/Configure#571 (xtext) ====
Index: perl/Configure
--- perl/Configure#570~23848~ Fri Jan 21 06:47:31 2005
+++ perl/Configure Mon Jan 31 03:33:14 2005
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Jan 21 16:11:32 MET 2005 [metaconfig 3.0 PL70]
+# Generated on Mon Jan 31 12:56:14 CET 2005 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by [EMAIL PROTECTED])
cat >c1$$ <<EOF
@@ -7105,7 +7105,7 @@
: for archive libraries. Thank you, Linux.
case "$nm_so_opt" in
'') case "$myuname" in
- *linux*)
+ *linux*|gnu*)
if $nm --help | $grep 'dynamic' > /dev/null 2>&1; then
nm_so_opt='--dynamic'
fi
@@ -7627,7 +7627,7 @@
'') dflt="$dflt +vnocompatwarnings" ;;
esac
;;
- linux|irix*) dflt='-shared' ;;
+ linux|irix*|gnu*) dflt='-shared' ;;
next) dflt='none' ;;
solaris) dflt='-G' ;;
sunos) dflt='-assert nodefinitions' ;;
@@ -7674,7 +7674,7 @@
EOM
case "$ccdlflags" in
'') case "$osname" in
- linux|hpux) dflt='-Wl,-E' ;;
+ linux|hpux|gnu*) dflt='-Wl,-E' ;;
next|sunos) dflt='none' ;;
*) dflt='none' ;;
esac ;;
@@ -7771,7 +7771,7 @@
dflt=libperl.5.$so
# XXX How handle the --version stuff for MAB?
;;
- linux*) # ld won't link with a bare -lperl otherwise.
+ linux*|gnu*) # ld won't link with a bare -lperl otherwise.
dflt=libperl.$so
;;
cygwin*) # ld links against an importlib
@@ -7858,7 +7858,7 @@
freebsd|netbsd|openbsd|interix)
xxx="-Wl,-R$shrpdir"
;;
- bsdos|linux|irix*|dec_osf)
+ bsdos|linux|irix*|dec_osf|gnu*)
xxx="-Wl,-rpath,$shrpdir"
;;
next)
==== //depot/perl/ext/DynaLoader/hints/gnukfreebsd.pl#1 (text) ====
Index: perl/ext/DynaLoader/hints/gnukfreebsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/DynaLoader/hints/gnukfreebsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/DynaLoader/hints/gnuknetbsd.pl#1 (text) ====
Index: perl/ext/DynaLoader/hints/gnuknetbsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/DynaLoader/hints/gnuknetbsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/NDBM_File/hints/gnukfreebsd.pl#1 (text) ====
Index: perl/ext/NDBM_File/hints/gnukfreebsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/NDBM_File/hints/gnukfreebsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/NDBM_File/hints/gnuknetbsd.pl#1 (text) ====
Index: perl/ext/NDBM_File/hints/gnuknetbsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/NDBM_File/hints/gnuknetbsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/ODBM_File/hints/gnukfreebsd.pl#1 (text) ====
Index: perl/ext/ODBM_File/hints/gnukfreebsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/ODBM_File/hints/gnukfreebsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/ODBM_File/hints/gnuknetbsd.pl#1 (text) ====
Index: perl/ext/ODBM_File/hints/gnuknetbsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/ODBM_File/hints/gnuknetbsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/POSIX/hints/gnukfreebsd.pl#1 (text) ====
Index: perl/ext/POSIX/hints/gnukfreebsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/POSIX/hints/gnukfreebsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/POSIX/hints/gnuknetbsd.pl#1 (text) ====
Index: perl/ext/POSIX/hints/gnuknetbsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/POSIX/hints/gnuknetbsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/Storable/hints/gnukfreebsd.pl#1 (text) ====
Index: perl/ext/Storable/hints/gnukfreebsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/Storable/hints/gnukfreebsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/ext/Storable/hints/gnuknetbsd.pl#1 (text) ====
Index: perl/ext/Storable/hints/gnuknetbsd.pl
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/ext/Storable/hints/gnuknetbsd.pl Mon Jan 31 03:33:14 2005
@@ -0,0 +1 @@
+do './hints/linux.pl';
==== //depot/perl/hints/gnukfreebsd.sh#1 (text) ====
Index: perl/hints/gnukfreebsd.sh
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/hints/gnukfreebsd.sh Mon Jan 31 03:33:14 2005
@@ -0,0 +1,2 @@
+#! /bin/sh
+. ./hints/linux.sh
==== //depot/perl/hints/gnuknetbsd.sh#1 (text) ====
Index: perl/hints/gnuknetbsd.sh
--- /dev/null Tue May 5 13:32:27 1998
+++ perl/hints/gnuknetbsd.sh Mon Jan 31 03:33:14 2005
@@ -0,0 +1,2 @@
+#! /bin/sh
+. ./hints/linux.sh
End of Patch.