diff options
author | obache <obache@pkgsrc.org> | 2014-05-10 11:44:29 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-05-10 11:44:29 +0000 |
commit | 191fa2b3690fa5364c5775c9a3e6d0e831c05cb1 (patch) | |
tree | 44d1eb2338db8d008e33dfd6108f9c017d757c8f /lang/perl5 | |
parent | 2c05502b065bef929db9755860cc4c010ed523cb (diff) | |
download | pkgsrc-191fa2b3690fa5364c5775c9a3e6d0e831c05cb1.tar.gz |
Hack for PR pkg/48500 is also required by OpenBSD-*-alpha.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/hacks.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/perl5/hacks.mk b/lang/perl5/hacks.mk index b22eb086901..736b6ae8807 100644 --- a/lang/perl5/hacks.mk +++ b/lang/perl5/hacks.mk @@ -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 @@ PERL5_BUILD_THREADS_SUPPORT= no ### [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 |