From: Robert Millan Date: Mon, 31 Jan 2005 07:37:55 +0000 (+0000) Subject: [perl #33998] [PATCH] Support for GNU/kFreeBSD X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb2e1bc0638d5a5d7ac552a79a71a996a5d604cc;p=p5sagit%2Fp5-mst-13.2.git [perl #33998] [PATCH] Support for GNU/kFreeBSD From: "rmh@debian.org (via RT)" Message-ID: p4raw-id: //depot/perl@23909 --- diff --git a/Configure b/Configure index 57fc01f..e52f8e9 100755 --- a/Configure +++ b/Configure @@ -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 perlbug@perl.org) cat >c1$$ < /dev/null 2>&1; then nm_so_opt='--dynamic' fi @@ -7627,7 +7627,7 @@ EOM '') 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 @@ say "none". 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 @@ true) 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 @@ if "$useshrplib"; then freebsd|netbsd|openbsd|interix) xxx="-Wl,-R$shrpdir" ;; - bsdos|linux|irix*|dec_osf) + bsdos|linux|irix*|dec_osf|gnu*) xxx="-Wl,-rpath,$shrpdir" ;; next) diff --git a/ext/DynaLoader/hints/gnukfreebsd.pl b/ext/DynaLoader/hints/gnukfreebsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/DynaLoader/hints/gnukfreebsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/DynaLoader/hints/gnuknetbsd.pl b/ext/DynaLoader/hints/gnuknetbsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/DynaLoader/hints/gnuknetbsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/NDBM_File/hints/gnukfreebsd.pl b/ext/NDBM_File/hints/gnukfreebsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/NDBM_File/hints/gnukfreebsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/NDBM_File/hints/gnuknetbsd.pl b/ext/NDBM_File/hints/gnuknetbsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/NDBM_File/hints/gnuknetbsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/ODBM_File/hints/gnukfreebsd.pl b/ext/ODBM_File/hints/gnukfreebsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/ODBM_File/hints/gnukfreebsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/ODBM_File/hints/gnuknetbsd.pl b/ext/ODBM_File/hints/gnuknetbsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/ODBM_File/hints/gnuknetbsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/POSIX/hints/gnukfreebsd.pl b/ext/POSIX/hints/gnukfreebsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/POSIX/hints/gnukfreebsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/POSIX/hints/gnuknetbsd.pl b/ext/POSIX/hints/gnuknetbsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/POSIX/hints/gnuknetbsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/Storable/hints/gnukfreebsd.pl b/ext/Storable/hints/gnukfreebsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/Storable/hints/gnukfreebsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/ext/Storable/hints/gnuknetbsd.pl b/ext/Storable/hints/gnuknetbsd.pl new file mode 100644 index 0000000..6e37b40 --- /dev/null +++ b/ext/Storable/hints/gnuknetbsd.pl @@ -0,0 +1 @@ +do './hints/linux.pl'; diff --git a/hints/gnukfreebsd.sh b/hints/gnukfreebsd.sh new file mode 100644 index 0000000..37136ce --- /dev/null +++ b/hints/gnukfreebsd.sh @@ -0,0 +1,2 @@ +#! /bin/sh +. ./hints/linux.sh diff --git a/hints/gnuknetbsd.sh b/hints/gnuknetbsd.sh new file mode 100644 index 0000000..37136ce --- /dev/null +++ b/hints/gnuknetbsd.sh @@ -0,0 +1,2 @@ +#! /bin/sh +. ./hints/linux.sh