nixpkgs/pkgs/development/libraries/indilib/udev-dir.patch

12 lines
625 B
Diff
Raw Normal View History

2020-11-01 19:14:33 +00:00
--- indi-1.8.6/CMakeLists.txt 2020-08-21 05:56:59.000000000 -0500
+++ CMakeLists.txt 2020-11-01 12:50:57.621293870 -0600
@@ -77,7 +77,7 @@
## the following are directories where stuff will be installed to
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/")
set(PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
-set(UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
+set(UDEVRULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
set(PKG_CONFIG_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})