diff options
author | wiz <wiz@pkgsrc.org> | 2015-11-11 11:00:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-11-11 11:00:06 +0000 |
commit | 2c03b545656ec944f94c164613d1ed9c838af70f (patch) | |
tree | f54671374fde5ff6799a0e3319f727ace19da5ec /databases | |
parent | 7af04b83565b104d0305e14906f12683d712ead0 (diff) | |
download | pkgsrc-2c03b545656ec944f94c164613d1ed9c838af70f.tar.gz |
When dtrace option is not enabled, explicitly disable dtrace.
Fixes build on NetBSD built with dtrace.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mariadb55-client/options.mk | 4 | ||||
-rw-r--r-- | databases/mysql-cluster/options.mk | 4 | ||||
-rw-r--r-- | databases/mysql55-client/options.mk | 4 | ||||
-rw-r--r-- | databases/mysql56-client/options.mk | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/databases/mariadb55-client/options.mk b/databases/mariadb55-client/options.mk index b6f514dcdd2..21646bad854 100644 --- a/databases/mariadb55-client/options.mk +++ b/databases/mariadb55-client/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2015/05/07 12:45:28 fhajny Exp $ +# $NetBSD: options.mk,v 1.3 2015/11/11 11:00:06 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mariadb55 @@ -21,6 +21,8 @@ PLIST_VARS+= dtrace .if !empty(PKG_OPTIONS:Mdtrace) CMAKE_ARGS+= -DENABLE_DTRACE=ON PLIST.dtrace= yes +.else +CMAKE_ARGS+= -DENABLE_DTRACE=OFF .endif # Enable Sphinx SE support diff --git a/databases/mysql-cluster/options.mk b/databases/mysql-cluster/options.mk index 9028bce6fdd..db237d325a8 100644 --- a/databases/mysql-cluster/options.mk +++ b/databases/mysql-cluster/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1.1.1 2014/12/01 05:58:03 jnemeth Exp $ +# $NetBSD: options.mk,v 1.2 2015/11/11 11:00:06 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mysql-cluster @@ -18,4 +18,6 @@ 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 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 diff --git a/databases/mysql56-client/options.mk b/databases/mysql56-client/options.mk index 14c88f345f2..00ac02e2f00 100644 --- a/databases/mysql56-client/options.mk +++ b/databases/mysql56-client/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.10 2015/10/03 12:46:13 adam Exp $ +# $NetBSD: options.mk,v 1.11 2015/11/11 11:00:06 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mysql5 @@ -20,6 +20,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 InnoDB Memcached support |