pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Fix netbsd hints:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f7a59418f30
branches:  trunk
changeset: 621834:3f7a59418f30
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 18 22:17:33 2013 +0000

description:
Fix netbsd hints:
--whole-archive is a linker flag, not a compiler flag.
Bump PKGREVISION.

Hopefully improves p5-gettext with clang from pkgsrc.

diffstat:

 lang/perl5/Makefile                      |   4 ++--
 lang/perl5/distinfo                      |   4 ++--
 lang/perl5/patches/patch-hints_netbsd.sh |  18 ++++++++++++++++--
 3 files changed, 20 insertions(+), 6 deletions(-)

diffs (60 lines):

diff -r aa73891c9847 -r 3f7a59418f30 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Thu Jul 18 20:34:47 2013 +0000
+++ b/lang/perl5/Makefile       Thu Jul 18 22:17:33 2013 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.206 2013/07/15 09:27:00 ryoon Exp $
+# $NetBSD: Makefile,v 1.207 2013/07/18 22:17:33 wiz Exp $
 
 .include "license.mk"
 .include "Makefile.common"
 
-PKGREVISION=   1
+PKGREVISION=   2
 COMMENT=       Practical Extraction and Report Language
 
 CONFLICTS=     perl-base-[0-9]* perl-thread-[0-9]*                     \
diff -r aa73891c9847 -r 3f7a59418f30 lang/perl5/distinfo
--- a/lang/perl5/distinfo       Thu Jul 18 20:34:47 2013 +0000
+++ b/lang/perl5/distinfo       Thu Jul 18 22:17:33 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.104 2013/07/18 07:21:02 adam Exp $
+$NetBSD: distinfo,v 1.105 2013/07/18 22:17:33 wiz Exp $
 
 SHA1 (perl-5.18.0.tar.gz) = f5a97a9fa4e9d0ef9c4b313c5b778a0e76291ee2
 RMD160 (perl-5.18.0.tar.gz) = 10774aa60a76b30579aedf23f4a21775301e3235
@@ -14,7 +14,7 @@
 SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7
 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
 SHA1 (patch-hints_darwin.sh) = c561d1862f8ca76652a35741c691394eb8cda70a
-SHA1 (patch-hints_netbsd.sh) = 8a0656a72e81461f461757712b7fc27ad8928028
+SHA1 (patch-hints_netbsd.sh) = 3be421aed9a7fed5c9093c038949a60f55de24a3
 SHA1 (patch-hv.c) = 0ed39926d620724db6d612a717d84b4efa129162
 SHA1 (patch-regexec.c) = 4fb7840347bd08739ae2dcb3d133212474e168fc
 SHA1 (patch-t_re_pat__rt__report.t) = 139161459885bda91a2cbd0f96c57d6d88e52713
diff -r aa73891c9847 -r 3f7a59418f30 lang/perl5/patches/patch-hints_netbsd.sh
--- a/lang/perl5/patches/patch-hints_netbsd.sh  Thu Jul 18 20:34:47 2013 +0000
+++ b/lang/perl5/patches/patch-hints_netbsd.sh  Thu Jul 18 22:17:33 2013 +0000
@@ -1,7 +1,21 @@
-$NetBSD: patch-hints_netbsd.sh,v 1.3 2013/01/03 10:11:34 dholland Exp $
+$NetBSD: patch-hints_netbsd.sh,v 1.4 2013/07/18 22:17:33 wiz Exp $
+
+--whole-archive is a linker flag, not a compiler flag
+Better defaults for paths.
 
---- hints/netbsd.sh~   2012-10-11 18:20:45.000000000 +0000
+--- hints/netbsd.sh.orig       2013-05-01 02:52:55.000000000 +0000
 +++ hints/netbsd.sh
+@@ -41,8 +41,8 @@ case "$osvers" in
+ # system gcc to build correctly, so check for it
+ echo 'int f(void) { return 0; }' >try.c
+ if ${cc:-cc} $cccdlflags -c try.c -otry.o 2>&1 &&
+-   ${cc:-cc} --whole-archive $lddlflags try.o -otry.so 2>&1 ; then
+-    lddlflags="--whole-archive $lddlflags"
++   ${cc:-cc} -Wl,--whole-archive $lddlflags try.o -otry.so 2>&1 ; then
++    lddlflags="-Wl,--whole-archive $lddlflags"
+ fi
+ rm try.c try.o try.so 2>/dev/null
+ EOCBU
 @@ -186,10 +186,12 @@ esac
  EOCBU
  



Home | Main Index | Thread Index | Old Index