pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Remove powerpc compiler workaround that was...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07ebfb514db6
branches:  trunk
changeset: 651931:07ebfb514db6
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun May 17 12:57:16 2015 +0000

description:
Remove powerpc compiler workaround that was put in place 11 years ago.
According to John D. Baker in PR pkg/49598, this helps compiling perl on
his PowerPC system.

diffstat:

 lang/perl5/hacks.mk |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (26 lines):

diff -r 6b18dcf110d7 -r 07ebfb514db6 lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk       Sun May 17 12:34:53 2015 +0000
+++ b/lang/perl5/hacks.mk       Sun May 17 12:57:16 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.15 2015/05/15 14:32:27 ryoon Exp $
+# $NetBSD: hacks.mk,v 1.16 2015/05/17 12:57:16 bsiegert Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
@@ -28,16 +28,6 @@
 .  endif
 .endif
 
-### [Sun Nov 14 02:35:50 EST 2004 : jlam]
-### On PowerPC, building with optimisation with GCC causes an "attempt
-### to free unreference scalar".  Remove optimisation flags as a
-### workaround until GCC is fixed.
-###
-.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
-PKG_HACKS+=            powerpc-codegen
-BUILDLINK_TRANSFORM+=  rm:-O[0-9]*
-.endif
-
 ### [Mon May 9 15:35:44 UTC 2005 : jlam]
 ### On NetBSD/arm, skipping one part of the optimization pass empirically
 ### "fixes" the build of perl using gcc-3.x.



Home | Main Index | Thread Index | Old Index