29 lines
838 B
Text
29 lines
838 B
Text
$NetBSD: patch-scripts_CMakeLists.txt,v 1.1 2013/02/13 21:00:06 adam Exp $
|
|
|
|
Fix paths.
|
|
|
|
--- scripts/CMakeLists.txt.orig 2013-01-22 16:54:49.000000000 +0000
|
|
+++ scripts/CMakeLists.txt
|
|
@@ -182,22 +182,14 @@ 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(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()
|
|
|
|
IF(UNIX)
|
|
SET(EXT)
|