Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 05:22:31 +0000 (UTC)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372304 - head/lang/ruby20
Message-ID:  <201411080522.sA85MVSP091537@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ache
Date: Sat Nov  8 05:22:30 2014
New Revision: 372304
URL: https://svnweb.freebsd.org/changeset/ports/372304
QAT: https://qat.redports.org/buildarchive/r372304/

Log:
  Handle the case when dtrace build is disabled (WITHOUT_CDDL=yes)
  
  Approved by:    swills

Modified:
  head/lang/ruby20/Makefile

Modified: head/lang/ruby20/Makefile
==============================================================================
--- head/lang/ruby20/Makefile	Fri Nov  7 23:16:16 2014	(r372303)
+++ head/lang/ruby20/Makefile	Sat Nov  8 05:22:30 2014	(r372304)
@@ -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



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