diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-10 23:48:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-10 23:48:50 +0000 |
commit | 376c76f0de43cfeae10f212886d57f9c452714ec (patch) | |
tree | 9cd234dbc18b33848eb2f5f6a089201b9634966e /lang/perl58 | |
parent | debcb005a236b5e92f46d35aa129cab41d10dbdf (diff) | |
download | pkgsrc-376c76f0de43cfeae10f212886d57f9c452714ec.tar.gz |
On NetBSD/alpha, building perl with -mieee causes perl to not pass
the test for integer.pm (pkg/28498). Until this is fixed in either
NetBSD, GCC or perl, strip out -mieee from the compiler command line.
This "fixes" pkg/28498.
Diffstat (limited to 'lang/perl58')
-rw-r--r-- | lang/perl58/hacks.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lang/perl58/hacks.mk b/lang/perl58/hacks.mk index ec23b7d29f8..4f8c5750443 100644 --- a/lang/perl58/hacks.mk +++ b/lang/perl58/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.4 2004/12/10 23:12:47 jlam Exp $ +# $NetBSD: hacks.mk,v 1.5 2004/12/10 23:48:50 jlam Exp $ .include "../../mk/compiler.mk" @@ -50,3 +50,14 @@ NaN-vax-exception: ${SED} -e "s,NaN,*NaN*,g" $$file.NaN > $$file; \ done .endif + +### [Fri Dec 10 18:46:19 EST 2004 : jlam] +### On NetBSD/alpha, building perl with -mieee causes perl to not pass +### the test for integer.pm (pkg/28498). Until this is fixed in either +### NetBSD, GCC or perl, strip out -mieee from the compiler command +### line. +### +.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) +PKG_HACKS+= alpha-mieee +BUILDLINK_TRANSFORM+= rm:-mieee +.endif |