aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby18
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-01-21 13:38:22 +0800
committerume <ume@FreeBSD.org>2006-01-21 13:38:22 +0800
commite55366f6624dd3d86e2bccb14450130e53ae9ea9 (patch)
tree728d0bef040923282e8b0fc78f904d27e9d645b1 /lang/ruby18
parent65c0a20089c2299f16cf530a73876154fbd9a325 (diff)
downloadfreebsd-ports-gnome-e55366f6624dd3d86e2bccb14450130e53ae9ea9.tar.gz
freebsd-ports-gnome-e55366f6624dd3d86e2bccb14450130e53ae9ea9.tar.zst
freebsd-ports-gnome-e55366f6624dd3d86e2bccb14450130e53ae9ea9.zip
${CPUTYPE} might not defined.
Reported by: cperciva
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"