Files
pkgsrc-ng/databases/mysql57-client/patches/patch-storage_example_CMakeLists.txt
2016-11-18 22:39:22 +01:00

19 lines
814 B
Plaintext

$NetBSD: patch-storage_example_CMakeLists.txt,v 1.1 2016/09/16 06:49:11 adam Exp $
Build with newer DTrace.
--- storage/example/CMakeLists.txt.orig 2016-03-28 18:06:12.000000000 +0000
+++ storage/example/CMakeLists.txt
@@ -16,7 +16,9 @@
SET(EXAMPLE_PLUGIN_DYNAMIC "ha_example")
SET(EXAMPLE_SOURCES ha_example.cc)
IF(WITH_EXAMPLE_STORAGE_ENGINE AND NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
- MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT)
+ MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT
+ DTRACE_INSTRUMENTED)
ELSEIF(NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
- MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE MODULE_ONLY)
+ MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE
+ MODULE_ONLY DTRACE_INSTRUMENTED)
ENDIF()