pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Don't try to use objformat on FreeBSD 7.0 a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab4ec3032f77
branches:  trunk
changeset: 545324:ab4ec3032f77
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Wed Jul 30 23:07:52 2008 +0000

description:
Don't try to use objformat on FreeBSD 7.0 and newer.

diffstat:

 lang/perl5/distinfo         |   3 ++-
 lang/perl5/patches/patch-co |  28 ++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 051eadf8598a -r ab4ec3032f77 lang/perl5/distinfo
--- a/lang/perl5/distinfo       Wed Jul 30 21:57:01 2008 +0000
+++ b/lang/perl5/distinfo       Wed Jul 30 23:07:52 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2008/06/01 22:04:07 he Exp $
+$NetBSD: distinfo,v 1.49 2008/07/30 23:07:52 ahoka Exp $
 
 SHA1 (perl-5.8.8.tar.bz2) = 4aab490040727ca4419098720eca2ba4367df539
 RMD160 (perl-5.8.8.tar.bz2) = e78f26d9b96e6db35f946ad4ff55e3a69385c71b
@@ -29,6 +29,7 @@
 SHA1 (patch-cj) = 3f40f1b166a054d55224c3e79d74516ca608b696
 SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097
 SHA1 (patch-cn) = b5e56787fb9ca10025e9061d7bfd2da549ee3fa3
+SHA1 (patch-co) = 4f7ae271aa6a17860e60411dfa45566ee02b0f58
 SHA1 (patch-da) = 24c8783fcdbead35de20bc3cecf1627a64717853
 SHA1 (patch-ta) = ca0d1e4bc2dbbc4b86a087fed27cd1e7bbb2873f
 SHA1 (patch-zc) = 0c61b6028813e0f80bfe0760a1e74e3037d37cdd
diff -r 051eadf8598a -r ab4ec3032f77 lang/perl5/patches/patch-co
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/patches/patch-co       Wed Jul 30 23:07:52 2008 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-co,v 1.1 2008/07/30 23:07:52 ahoka Exp $
+
+--- hints/freebsd.sh.orig      2004-03-24 22:47:33.000000000 +0100
++++ hints/freebsd.sh
+@@ -114,7 +114,7 @@ case "$osvers" in
+       lddlflags="-Bshareable $lddlflags"
+       ;;
+ 
+-*)
++3*|4*|5*|6*)
+         objformat=`/usr/bin/objformat`
+         if [ x$objformat = xelf ]; then
+             libpth="/usr/lib /usr/local/lib"
+@@ -130,6 +130,14 @@ case "$osvers" in
+         fi
+         cccdlflags='-DPIC -fPIC'
+         ;;
++
++*)
++      libpth="/usr/lib /usr/local/lib"
++      glibpth="/usr/lib /usr/local/lib"
++      ldflags="-Wl,-E "
++      lddlflags="-shared "
++      cccdlflags='-DPIC -fPIC'
++      ;;
+ esac
+ 
+ case "$osvers" in



Home | Main Index | Thread Index | Old Index