summaryrefslogtreecommitdiff
path: root/lang/ruby18
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-01-21 05:38:22 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-01-21 05:38:22 +0000
commit3e59b5bdf81b520cc61c8c2bc6f8a364b21e871c (patch)
tree69f485e82f7837881ba97d381e3b7cf5a0545782 /lang/ruby18
parentAdd support for lang/gcc42 (diff)
${CPUTYPE} might not defined.
Reported by: cperciva
Notes
Notes: svn path=/head/; revision=154039
Diffstat (limited to 'lang/ruby18')
-rw-r--r--lang/ruby18/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index cc2fef9fd6b8..76e3db48d638 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -62,9 +62,11 @@ MAN1= ${RUBY_NAME}.1
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c
.endif
+.if defined(CPUTYPE)
.if ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "athlon-xp"
WITHOUT_CPU_CFLAGS= yes
.endif
+.endif
# Uncomment if it still segfaults with 1.8.4
#.if ${ARCH} == "ia64"