diff options
author | ahoka <ahoka@pkgsrc.org> | 2008-07-30 23:07:52 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2008-07-30 23:07:52 +0000 |
commit | 343d3b6580bca891b7c27e84b852c5ed1f1e95ba (patch) | |
tree | d26b311b4c333b67a54d007c76fd6e1d7d08d089 /lang | |
parent | 97e9e2bdb879029e8f5981609c6f51fea0accb20 (diff) | |
download | pkgsrc-343d3b6580bca891b7c27e84b852c5ed1f1e95ba.tar.gz |
Don't try to use objformat on FreeBSD 7.0 and newer.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-co | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index f7e8cba8c32..e5b884da385 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -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-ci) = fe943f07044efa457d163eb86974ea10bb356226 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 --git a/lang/perl5/patches/patch-co b/lang/perl5/patches/patch-co new file mode 100644 index 00000000000..72bb56e9c6d --- /dev/null +++ b/lang/perl5/patches/patch-co @@ -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 |