mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 13:03:41 -04:00
30 lines
891 B
Plaintext
30 lines
891 B
Plaintext
$NetBSD: patch-scripts_CMakeLists.txt,v 1.1 2015/04/16 20:20:15 ryoon Exp $
|
|
|
|
Fix paths.
|
|
|
|
--- scripts/CMakeLists.txt.orig 2015-02-13 12:07:04.000000000 +0000
|
|
+++ scripts/CMakeLists.txt
|
|
@@ -180,22 +180,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)
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql_install_db.sh
|