parent
ea2b5d24fc
commit
4ea8d5b5b9
2 changed files with 23 additions and 1 deletions
22
srcpkgs/mariadb/patches/fix-install-layout.patch
Normal file
22
srcpkgs/mariadb/patches/fix-install-layout.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
--- a/cmake/install_layout.cmake
|
||||||
|
+++ b/cmake/install_layout.cmake
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
ELSEIF(INSTALL_LAYOUT MATCHES "SVR4")
|
||||||
|
SET(default_prefix "/opt/mysql/mysql")
|
||||||
|
ELSE()
|
||||||
|
- SET(default_prefix "/usr/local/mysql")
|
||||||
|
+ SET(default_prefix "/usr")
|
||||||
|
ENDIF()
|
||||||
|
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX ${default_prefix}
|
||||||
|
--- a/scripts/CMakeLists.txt
|
||||||
|
+++ b/scripts/CMakeLists.txt
|
||||||
|
@@ -181,7 +181,7 @@
|
||||||
|
# the documentation, so better not change this.
|
||||||
|
|
||||||
|
IF(INSTALL_LAYOUT MATCHES "STANDALONE")
|
||||||
|
- SET(prefix ".")
|
||||||
|
+ SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
SET(bindir ${prefix}/${INSTALL_BINDIR})
|
||||||
|
SET(sbindir ${prefix}/${INSTALL_SBINDIR})
|
||||||
|
SET(scriptdir ${prefix}/${INSTALL_BINDIR})
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mariadb'
|
# Template file for 'mariadb'
|
||||||
pkgname=mariadb
|
pkgname=mariadb
|
||||||
version=10.5.10
|
version=10.5.10
|
||||||
revision=4
|
revision=5
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
configure_args="-DBUILD_CONFIG=mysql_release
|
configure_args="-DBUILD_CONFIG=mysql_release
|
||||||
|
|
Loading…
Add table
Reference in a new issue