Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 00:38:43 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383967 - in head/lang: ruby21 ruby22
Message-ID:  <201504140038.t3E0ch4B022990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Apr 14 00:38:43 2015
New Revision: 383967
URL: https://svnweb.freebsd.org/changeset/ports/383967

Log:
  Don't enable dtrace on non-x86 platforms since it causes build issues.

Modified:
  head/lang/ruby21/Makefile
  head/lang/ruby22/Makefile

Modified: head/lang/ruby21/Makefile
==============================================================================
--- head/lang/ruby21/Makefile	Tue Apr 14 00:35:59 2015	(r383966)
+++ head/lang/ruby21/Makefile	Tue Apr 14 00:38:43 2015	(r383967)
@@ -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

Modified: head/lang/ruby22/Makefile
==============================================================================
--- head/lang/ruby22/Makefile	Tue Apr 14 00:35:59 2015	(r383966)
+++ head/lang/ruby22/Makefile	Tue Apr 14 00:38:43 2015	(r383967)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504140038.t3E0ch4B022990>