summaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-01-21 04:26:40 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-01-21 04:26:40 +0000
commitf8292fc41dab7b5c2e54f41ebbca3769fa3870aa (patch)
tree4d3c8aaf89b4ca74c0cea8a147a3224aa2d5d035 /lang/ruby18
parent- Fix packing list issue with ipw-firmware. Should have fixed that some time ... (diff)
It was not buildable with CPUTYPE=athlon64 or CPUTYPE=athlon-xp
since my last commit. It spun in 'miniruby' somewhere in a bigdecimal compile. So, if CPUTYPE is defined as athlon64 or athlon-xp, ignore CPU_CFLAGS for workaround. Reported by: Mike Harding <mvh__at__ix.netcom.com>
Notes
Notes: svn path=/head/; revision=154033
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 17929f5f0755..cc2fef9fd6b8 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -62,6 +62,10 @@ MAN1= ${RUBY_NAME}.1
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c
.endif
+.if ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "athlon-xp"
+WITHOUT_CPU_CFLAGS= yes
+.endif
+
# Uncomment if it still segfaults with 1.8.4
#.if ${ARCH} == "ia64"
#BROKEN= "Segfault during build on ia64"