50c1016581
MariaDB is a multi-threaded SQL database with a command syntax very similar to mSQL. ok sthen@ giovanni@
29 lines
972 B
Plaintext
29 lines
972 B
Plaintext
$OpenBSD: patch-scripts_CMakeLists_txt,v 1.1.1.1 2013/04/04 18:58:44 brad Exp $
|
|
--- scripts/CMakeLists.txt.orig Tue Jan 29 09:12:48 2013
|
|
+++ scripts/CMakeLists.txt Thu Feb 14 22:14:03 2013
|
|
@@ -183,22 +183,13 @@ ENDIF(UNIX)
|
|
# i.e. makes access relative the current directory. This matches
|
|
# the documentation, so better not change this.
|
|
|
|
-IF(INSTALL_LAYOUT MATCHES "STANDALONE")
|
|
- SET(prefix ".")
|
|
-ELSE()
|
|
- SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
|
-ENDIF()
|
|
-
|
|
+SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
|
SET(bindir ${prefix}/${INSTALL_BINDIR})
|
|
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
|
|
SET(scriptdir ${prefix}/${INSTALL_BINDIR})
|
|
SET(libexecdir ${prefix}/${INSTALL_SBINDIR})
|
|
SET(pkgdatadir ${prefix}/${INSTALL_MYSQLSHAREDIR})
|
|
-IF(INSTALL_LAYOUT MATCHES "STANDALONE")
|
|
- SET(localstatedir ${prefix}/data)
|
|
-ELSE()
|
|
- SET(localstatedir ${MYSQL_DATADIR})
|
|
-ENDIF()
|
|
+SET(localstatedir ${MYSQL_DATADIR})
|
|
|
|
IF(UNIX)
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql_install_db.sh
|