From 6ff3c622d853db88dca8f939a0f06ab62d358033 Mon Sep 17 00:00:00 2001 From: swills Date: Tue, 14 Apr 2015 00:38:43 +0000 Subject: Don't enable dtrace on non-x86 platforms since it causes build issues. --- lang/ruby21/Makefile | 2 +- lang/ruby22/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile index 8ca7cd0b692..9986323ef80 100644 --- a/lang/ruby21/Makefile +++ b/lang/ruby21/Makefile @@ -85,7 +85,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -lpthread -L${LOCALBASE}/lib .if ${OPSYS} == "FreeBSD" -.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) +.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace diff --git a/lang/ruby22/Makefile b/lang/ruby22/Makefile index da67a81398c..3811a197f6b 100644 --- a/lang/ruby22/Makefile +++ b/lang/ruby22/Makefile @@ -85,7 +85,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -lpthread -L${LOCALBASE}/lib .if ${OPSYS} == "FreeBSD" -.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) +.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace -- cgit