From afe8743017095c33e34890230326395745d63692 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 11 Nov 2015 11:00:06 +0000 Subject: When dtrace option is not enabled, explicitly disable dtrace. Fixes build on NetBSD built with dtrace. --- databases/mysql55-client/options.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'databases/mysql55-client') diff --git a/databases/mysql55-client/options.mk b/databases/mysql55-client/options.mk index 13d99c47932..410af9dcc37 100644 --- a/databases/mysql55-client/options.mk +++ b/databases/mysql55-client/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.10 2015/10/03 12:13:29 adam Exp $ +# $NetBSD: options.mk,v 1.11 2015/11/11 11:00:06 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mysql5 @@ -19,6 +19,8 @@ CMAKE_ARGS+= -DWITH_SSL=no # Enable DTrace support .if !empty(PKG_OPTIONS:Mdtrace) CMAKE_ARGS+= -DENABLE_DTRACE=ON +.else +CMAKE_ARGS+= -DENABLE_DTRACE=OFF .endif # Enable Sphinx SE support -- cgit v1.2.3