summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-01-21 05:38:22 +0000
committerume <ume@FreeBSD.org>2006-01-21 05:38:22 +0000
commite55366f6624dd3d86e2bccb14450130e53ae9ea9 (patch)
tree728d0bef040923282e8b0fc78f904d27e9d645b1 /lang
parent65c0a20089c2299f16cf530a73876154fbd9a325 (diff)
downloadFreeBSD-ports-e55366f6624dd3d86e2bccb14450130e53ae9ea9.zip
FreeBSD-ports-e55366f6624dd3d86e2bccb14450130e53ae9ea9.tar.gz
${CPUTYPE} might not defined.
Reported by: cperciva
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index cc2fef9..76e3db4 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"
OpenPOWER on IntegriCloud