aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby20
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2014-11-08 05:22:30 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2014-11-08 05:22:30 +0000
commit8dcbb209b772274918e7fb3b3ce6e2c7373f52a4 (patch)
treed94d8467acf93f21238a7e3018e054246ec42130 /lang/ruby20
parent7c6916706a99085cc54b4781282437366b3f52b9 (diff)
downloadports-8dcbb209b772274918e7fb3b3ce6e2c7373f52a4.tar.gz
ports-8dcbb209b772274918e7fb3b3ce6e2c7373f52a4.zip
Notes
Diffstat (limited to 'lang/ruby20')
-rw-r--r--lang/ruby20/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/ruby20/Makefile b/lang/ruby20/Makefile
index f0067f64a700..2402b70bc4ac 100644
--- a/lang/ruby20/Makefile
+++ b/lang/ruby20/Makefile
@@ -86,7 +86,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if ${OPSYS} == "FreeBSD"
-.if (${ARCH} == "i386" && ${OSVERSION} > 1010000) || (${ARCH} == "amd64" && ${OSVERSION} > 903000)
+.if exists(/usr/sbin/dtrace) && \
+ ((${ARCH} == "i386" && ${OSVERSION} > 1010000) || \
+ (${ARCH} == "amd64" && ${OSVERSION} > 903000))
CONFIGURE_ARGS+= --enable-dtrace
.else
CONFIGURE_ARGS+= --disable-dtrace