diff options
author | Javier Villavicencio <the_paya@gentoo.org> | 2008-07-18 12:03:29 +0000 |
---|---|---|
committer | Javier Villavicencio <the_paya@gentoo.org> | 2008-07-18 12:03:29 +0000 |
commit | 93915eb39a32843210b74b89b079b61ece2182af (patch) | |
tree | 399cb4df077aae65bdbde1de801b7571e37ac859 /dev-lang/perl/files | |
parent | keyword ~x86-fbsd thanks to Nathan Smith <nathan@ndansmith.net>, bug #190810 (diff) | |
download | historical-93915eb39a32843210b74b89b079b61ece2182af.tar.gz historical-93915eb39a32843210b74b89b079b61ece2182af.tar.bz2 historical-93915eb39a32843210b74b89b079b61ece2182af.zip |
Updated fbsdhints patch, bug 225323.
Package-Manager: portage-2.2_rc1/cvs/FreeBSD 7.0-RELEASE i386
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r-- | dev-lang/perl/files/perl-5.8.8-fbsdhints.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch b/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch index 5f888346ae43..7dc1a65b9e6e 100644 --- a/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch +++ b/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch @@ -22,6 +22,30 @@ Index: perl-5.8.8/hints/freebsd.sh ;; esac +@@ -116,17 +122,17 @@ case "$osvers" in + + *) + objformat=`/usr/bin/objformat` +- if [ x$objformat = xelf ]; then +- libpth="/usr/lib /usr/local/lib" +- glibpth="/usr/lib /usr/local/lib" +- ldflags="-Wl,-E " +- lddlflags="-shared " +- else ++ if [ x$objformat = xaout ]; then + if [ -e /usr/lib/aout ]; then + libpth="/usr/lib/aout /usr/local/lib /usr/lib" + glibpth="/usr/lib/aout /usr/local/lib /usr/lib" + fi + lddlflags='-Bshareable' ++ else ++ libpth="/usr/lib /usr/local/lib" ++ glibpth="/usr/lib /usr/local/lib" ++ ldflags="-Wl,-E" ++ lddlflags="-shared " + fi + cccdlflags='-DPIC -fPIC' + ;; @@ -137,7 +143,7 @@ case "$osvers" in *) |