mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
extra-cmake-modules: fix libexecdir location
This commit is contained in:
parent
7e0acd8df3
commit
88a30a7f0e
2 changed files with 40 additions and 1 deletions
39
srcpkgs/extra-cmake-modules/patches/libexecdir.patch
Normal file
39
srcpkgs/extra-cmake-modules/patches/libexecdir.patch
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
Index: extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirs5.cmake
|
||||||
|
===================================================================
|
||||||
|
--- extra-cmake-modules-5.100.0.orig/kde-modules/KDEInstallDirs5.cmake
|
||||||
|
+++ extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirs5.cmake
|
||||||
|
@@ -43,7 +43,7 @@ deprecated variable name in square brack
|
||||||
|
``EXECROOTDIR/lib/<multiarch-tuple`` on Debian) [``LIB_INSTALL_DIR``]
|
||||||
|
``LIBEXECDIR``
|
||||||
|
executables for internal use by programs and libraries (``BINDIR`` on
|
||||||
|
- Windows, ``LIBDIR/libexec`` otherwise) [``LIBEXEC_INSTALL_DIR``]
|
||||||
|
+ Windows, ``EXECROOTDIR/libexec`` otherwise) [``LIBEXEC_INSTALL_DIR``]
|
||||||
|
``CMAKEPACKAGEDIR``
|
||||||
|
CMake packages, including config files (``LIBDIR/cmake``)
|
||||||
|
[``CMAKECONFIG_INSTALL_PREFIX``]
|
||||||
|
Index: extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirs6.cmake
|
||||||
|
===================================================================
|
||||||
|
--- extra-cmake-modules-5.100.0.orig/kde-modules/KDEInstallDirs6.cmake
|
||||||
|
+++ extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirs6.cmake
|
||||||
|
@@ -46,7 +46,7 @@ where ``<dir>`` is one of (default value
|
||||||
|
``EXECROOTDIR/lib/<multiarch-tuple`` on Debian)
|
||||||
|
``LIBEXECDIR``
|
||||||
|
executables for internal use by programs and libraries (``BINDIR`` on
|
||||||
|
- Windows, ``LIBDIR/libexec`` otherwise)
|
||||||
|
+ Windows, ``EXECROOTDIR/libexec`` otherwise)
|
||||||
|
``CMAKEPACKAGEDIR``
|
||||||
|
CMake packages, including config files (``LIBDIR/cmake``)
|
||||||
|
``QTPLUGINDIR``
|
||||||
|
Index: extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirsCommon.cmake
|
||||||
|
===================================================================
|
||||||
|
--- extra-cmake-modules-5.100.0.orig/kde-modules/KDEInstallDirsCommon.cmake
|
||||||
|
+++ extra-cmake-modules-5.100.0/kde-modules/KDEInstallDirsCommon.cmake
|
||||||
|
@@ -248,7 +248,7 @@ if(WIN32)
|
||||||
|
"executables for internal use by programs and libraries"
|
||||||
|
LIBEXEC_INSTALL_DIR)
|
||||||
|
else()
|
||||||
|
- _define_relative(LIBEXECDIR LIBDIR "libexec"
|
||||||
|
+ _define_relative(LIBEXECDIR EXECROOTDIR "libexec"
|
||||||
|
"executables for internal use by programs and libraries"
|
||||||
|
LIBEXEC_INSTALL_DIR)
|
||||||
|
endif()
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'extra-cmake-modules'
|
# Template file for 'extra-cmake-modules'
|
||||||
pkgname=extra-cmake-modules
|
pkgname=extra-cmake-modules
|
||||||
version=5.100.0
|
version=5.100.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_HTML_DOCS=ON"
|
configure_args="-DBUILD_HTML_DOCS=ON"
|
||||||
hostmakedepends="python3-Sphinx qt5-tools"
|
hostmakedepends="python3-Sphinx qt5-tools"
|
||||||
|
|
Loading…
Add table
Reference in a new issue