python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / clamav / sample-cofiguration-file-install-location.patch
blob46444627dd38f20e107bd70fc68110121857cb6d
1 diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt
2 index 826fff1..3cefc34 100644
3 --- a/etc/CMakeLists.txt
4 +++ b/etc/CMakeLists.txt
5 @@ -6,14 +6,14 @@ install(
6 FILES
7 ${CMAKE_CURRENT_SOURCE_DIR}/clamd.conf.sample
8 DESTINATION
9 - ${APP_CONFIG_DIRECTORY}
10 + ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
11 COMPONENT programs)
13 install(
14 FILES
15 ${CMAKE_CURRENT_SOURCE_DIR}/freshclam.conf.sample
16 DESTINATION
17 - ${APP_CONFIG_DIRECTORY}
18 + ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
19 COMPONENT programs)
21 if(ENABLE_MILTER)
22 @@ -21,6 +21,6 @@ if(ENABLE_MILTER)
23 FILES
24 ${CMAKE_CURRENT_SOURCE_DIR}/clamav-milter.conf.sample
25 DESTINATION
26 - ${APP_CONFIG_DIRECTORY}
27 + ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
28 COMPONENT programs)
29 endif()