Fri Jan 31 17:38:48 2014 UTC ()
pkg/48500:  add a hack on NetBSD/alpha to add the gcc compiler flag
	    -fno-tree-ter, removing the alignment warnings printed by the
	    NetBSD/alpha kernel when perl was executed.

	    bump PKGREVISION


(schnoebe)
diff -r1.216 -r1.217 pkgsrc/lang/perl5/Makefile
diff -r1.8 -r1.9 pkgsrc/lang/perl5/hacks.mk

cvs diff -r1.216 -r1.217 pkgsrc/lang/perl5/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/perl5/Makefile 2014/01/24 16:37:19 1.216
+++ pkgsrc/lang/perl5/Makefile 2014/01/31 17:38:48 1.217
@@ -1,18 +1,19 @@ @@ -1,18 +1,19 @@
1# $NetBSD: Makefile,v 1.216 2014/01/24 16:37:19 ryoon Exp $ 1# $NetBSD: Makefile,v 1.217 2014/01/31 17:38:48 schnoebe Exp $
2 2
3.include "license.mk" 3.include "license.mk"
4.include "Makefile.common" 4.include "Makefile.common"
5 5
 6PKGREVISION= 1
6COMMENT= Practical Extraction and Report Language 7COMMENT= Practical Extraction and Report Language
7 8
8CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]* 9CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]*
9 10
10# CONFLICTS packages older than CORE modules version. 11# CONFLICTS packages older than CORE modules version.
11# based on 'corelist -v ${PKGVERSION}' 12# based on 'corelist -v ${PKGVERSION}'
12# update based on 'corelist -diff ${PREV_PKGVERSION} ${PKGVERSION}' 13# update based on 'corelist -diff ${PREV_PKGVERSION} ${PKGVERSION}'
13CONFLICTS+= p5-Archive-Tar<1.90 14CONFLICTS+= p5-Archive-Tar<1.90
14CONFLICTS+= p5-Attribute-Handlers<0.94 15CONFLICTS+= p5-Attribute-Handlers<0.94
15CONFLICTS+= p5-AutoLoader<5.73 16CONFLICTS+= p5-AutoLoader<5.73
16CONFLICTS+= p5-CGI<3.63 17CONFLICTS+= p5-CGI<3.63
17CONFLICTS+= p5-CPAN<2.0000 # 2.00 18CONFLICTS+= p5-CPAN<2.0000 # 2.00
18CONFLICTS+= p5-CPAN-Meta<2.120921 19CONFLICTS+= p5-CPAN-Meta<2.120921

cvs diff -r1.8 -r1.9 pkgsrc/lang/perl5/hacks.mk (expand / switch to unified diff)

--- pkgsrc/lang/perl5/hacks.mk 2013/04/03 11:57:46 1.8
+++ pkgsrc/lang/perl5/hacks.mk 2014/01/31 17:38:48 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: hacks.mk,v 1.8 2013/04/03 11:57:46 obache Exp $ 1# $NetBSD: hacks.mk,v 1.9 2014/01/31 17:38:48 schnoebe Exp $
2 2
3.if !defined(PERL5_HACKS_MK) 3.if !defined(PERL5_HACKS_MK)
4PERL5_HACKS_MK= defined 4PERL5_HACKS_MK= defined
5 5
6.include "../../mk/compiler.mk" 6.include "../../mk/compiler.mk"
7 7
8### [Thu Jun 7 04:25:34 UTC 2001 : jlam] 8### [Thu Jun 7 04:25:34 UTC 2001 : jlam]
9### Fix brokenness when using an older toolchain (gcc<3.3) on 9### Fix brokenness when using an older toolchain (gcc<3.3) on
10### NetBSD/sparc64. Pass -g and -DDEBUGGING to the compiler to 10### NetBSD/sparc64. Pass -g and -DDEBUGGING to the compiler to
11### circumvent some code-generation bugs. 11### circumvent some code-generation bugs.
12### 12###
13.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) 13.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
14. if !empty(CC_VERSION:Mgcc*) 14. if !empty(CC_VERSION:Mgcc*)
@@ -74,14 +74,24 @@ CFLAGS+= -fno-cse-skip-blocks @@ -74,14 +74,24 @@ CFLAGS+= -fno-cse-skip-blocks
74PKG_HACKS+= m68k-codegen 74PKG_HACKS+= m68k-codegen
75BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os 75BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os
76.endif 76.endif
77 77
78### [Thr Mar 21 22:20:00 JST 2013 : obache] 78### [Thr Mar 21 22:20:00 JST 2013 : obache]
79### from KNOWN PROBLEMS in README.haiku 79### from KNOWN PROBLEMS in README.haiku
80### Perl cannot be compiled with threading support ATM. 80### Perl cannot be compiled with threading support ATM.
81### 81###
82.if !empty(MACHINE_PLATFORM:MHaiku-*-*) 82.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
83PKG_HACKS+= broken-haiku-pthreads 83PKG_HACKS+= broken-haiku-pthreads
84PERL5_BUILD_THREADS_SUPPORT= no 84PERL5_BUILD_THREADS_SUPPORT= no
85.endif 85.endif
86 86
 87### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
 88### gcc-4.*.* in NetBSD/alpha causes unaligned access exception in perl.
 89### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
 90.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && !empty(CC_VERSION:Mgcc-4.*.*)
 91# XXX: is there any good way to replace the default -O2 with multiple args?
 92PKG_HACKS+= alpha-optimisation
 93#BUILDLINK_TRANSFORM+= rename:-O[2-9]*:-O2 -fno-tree-ter
 94CFLAGS+=-fno-tree-ter
 95.endif
 96
87.endif # PERL5_HACKS_MK 97.endif # PERL5_HACKS_MK