svn commit: r372304 - head/lang/ruby20

Andrey A. Chernov ache at FreeBSD.org
Sat Nov 8 05:22:31 UTC 2014


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


More information about the svn-ports-all mailing list