pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Hack for PR pkg/48500 is also required by O...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12ec75eed535
branches:  trunk
changeset: 634168:12ec75eed535
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 10 11:44:29 2014 +0000

description:
Hack for PR pkg/48500 is also required by OpenBSD-*-alpha.

diffstat:

 lang/perl5/hacks.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 750816daf19b -r 12ec75eed535 lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk       Sat May 10 11:43:30 2014 +0000
+++ b/lang/perl5/hacks.mk       Sat May 10 11:44:29 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.9 2014/01/31 17:38:48 schnoebe Exp $
+# $NetBSD: hacks.mk,v 1.10 2014/05/10 11:44:29 obache Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
@@ -87,7 +87,8 @@
 ### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
 ### gcc-4.*.* in NetBSD/alpha causes  unaligned access exception in perl.
 ### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && !empty(CC_VERSION:Mgcc-4.*.*)
+.if (!empty(MACHINE_PLATFORM:MNetBSD-*-alpha) || !empty(MACHINE_PLATFORM:MOpenBSD-*-alpha)) \
+       && !empty(CC_VERSION:Mgcc-4.*.*)
 # XXX: is there any good way to replace the default -O2 with multiple args?
 PKG_HACKS+=            alpha-optimisation
 #BUILDLINK_TRANSFORM+=  rename:-O[2-9]*:-O2 -fno-tree-ter



Home | Main Index | Thread Index | Old Index