pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl58 On NetBSD/alpha, building perl with -mieee...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c59b7291f5bd
branches: trunk
changeset: 485431:c59b7291f5bd
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Dec 10 23:48:50 2004 +0000
description:
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:
lang/perl58/hacks.mk | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 5766a85caa2b -r c59b7291f5bd lang/perl58/hacks.mk
--- a/lang/perl58/hacks.mk Fri Dec 10 23:32:34 2004 +0000
+++ b/lang/perl58/hacks.mk Fri Dec 10 23:48:50 2004 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index