summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-14 08:00:14 +0000
committerjlam <jlam@pkgsrc.org>2004-11-14 08:00:14 +0000
commit4d61624d314d046ca21ffd3f85ee8dd5bbd97d41 (patch)
tree8d3f7a3a64d823b646d7a4f0ae3cc08477f2c6b2 /lang
parent676473f683712ddc3a13225ab2541d452118ec82 (diff)
downloadpkgsrc-4d61624d314d046ca21ffd3f85ee8dd5bbd97d41.tar.gz
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 (limited to 'lang')
-rw-r--r--lang/perl58/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl58/hacks.mk b/lang/perl58/hacks.mk
index da61caba222..6ec987e9e4d 100644
--- a/lang/perl58/hacks.mk
+++ b/lang/perl58/hacks.mk
@@ -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 @@ CFLAGS+= -DDEBUGGING -g -msoft-quad-float -O2
### 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