pkgsrc/databases/mysql55-client/patches/patch-CMakeLists.txt
adam e1abd6b513 Changes 5.5.31:
MySQL no longer uses the default OpenSSL compression.
Bug fixes.
2013-04-20 08:06:56 +00:00

42 lines
1.1 KiB
Text

$NetBSD: patch-CMakeLists.txt,v 1.4 2013/04/20 08:06:56 adam Exp $
Split configuration between mysql-client and mysql-server.
--- CMakeLists.txt.orig 2013-03-25 13:14:58.000000000 +0000
+++ CMakeLists.txt
@@ -293,7 +293,6 @@ ADD_SUBDIRECTORY(strings)
ADD_SUBDIRECTORY(vio)
ADD_SUBDIRECTORY(regex)
ADD_SUBDIRECTORY(mysys)
-ADD_SUBDIRECTORY(libmysql)
IF(WITH_UNIT_TESTS)
@@ -305,9 +304,13 @@ IF(WITH_UNIT_TESTS)
ENDIF()
ADD_SUBDIRECTORY(extra)
-IF(NOT WITHOUT_SERVER)
- ADD_SUBDIRECTORY(tests)
+IF(WITHOUT_SERVER)
+ ADD_SUBDIRECTORY(libmysql)
ADD_SUBDIRECTORY(client)
+ ADD_SUBDIRECTORY(scripts)
+ ADD_SUBDIRECTORY(man)
+ ADD_SUBDIRECTORY(tests)
+ELSE()
ADD_SUBDIRECTORY(sql)
ADD_SUBDIRECTORY(sql/share)
ADD_SUBDIRECTORY(libservices)
@@ -320,11 +323,7 @@ IF(NOT WITHOUT_SERVER)
ADD_SUBDIRECTORY(mysql-test)
ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess)
ADD_SUBDIRECTORY(support-files)
- ADD_SUBDIRECTORY(scripts)
ADD_SUBDIRECTORY(sql-bench)
- IF(UNIX)
- ADD_SUBDIRECTORY(man)
- ENDIF()
IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt)
ADD_SUBDIRECTORY(internal)
ENDIF()