about summary refs log tree commit diff
path: root/pkgs/tools/security/clamav/sample-cofiguration-file-install-location.patch
blob: 46444627dd38f20e107bd70fc68110121857cb6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt
index 826fff1..3cefc34 100644
--- a/etc/CMakeLists.txt
+++ b/etc/CMakeLists.txt
@@ -6,14 +6,14 @@ install(
     FILES
         ${CMAKE_CURRENT_SOURCE_DIR}/clamd.conf.sample
     DESTINATION
-        ${APP_CONFIG_DIRECTORY}
+        ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
     COMPONENT programs)
 
 install(
     FILES
         ${CMAKE_CURRENT_SOURCE_DIR}/freshclam.conf.sample
     DESTINATION
-        ${APP_CONFIG_DIRECTORY}
+        ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
     COMPONENT programs)
 
 if(ENABLE_MILTER)
@@ -21,6 +21,6 @@ if(ENABLE_MILTER)
         FILES
             ${CMAKE_CURRENT_SOURCE_DIR}/clamav-milter.conf.sample
         DESTINATION
-            ${APP_CONFIG_DIRECTORY}
+            ${CMAKE_INSTALL_PREFIX}/${APP_CONFIG_DIRECTORY}
         COMPONENT programs)
 endif()