pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Narrow down the scope of the powerpc-codeg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a018a7e6dbb9
branches:  trunk
changeset: 483526:a018a7e6dbb9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Nov 14 08:00:14 2004 +0000

description:
Narrow down the scope of the powerpc-codegen hack to only NetBSD/powerpc
as there aren't reports from other OSes yet (it's likely okay using
Darwin).

diffstat:

 lang/perl58/hacks.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1c0e6c15c251 -r a018a7e6dbb9 lang/perl58/hacks.mk
--- a/lang/perl58/hacks.mk      Sun Nov 14 07:50:58 2004 +0000
+++ b/lang/perl58/hacks.mk      Sun Nov 14 08:00:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2004/11/14 07:50:58 jlam Exp $
+# $NetBSD: hacks.mk,v 1.3 2004/11/14 08:00:14 jlam Exp $
 
 .include "../../mk/compiler.mk"
 
@@ -30,7 +30,7 @@
 ### to free unreference scalar".  Remove optimisation flags as a
 ### workaround until GCC is fixed.
 ###
-.if !empty(CC_VERSION:Mgcc*) && (${MACHINE_ARCH} == "powerpc")
+.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
 PKG_HACKS+=            powerpc-codegen
 BUILDLINK_TRANSFORM+=  rm:-O[0-9]*
 .endif



Home | Main Index | Thread Index | Old Index