biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / monitoring / icinga2 / no-var-directories.patch
blob3a1d480558525e966497ab960fcbe2c8050b6c67
1 diff --git a/icinga-app/CMakeLists.txt b/icinga-app/CMakeLists.txt
2 index 87993df..819c87b 100644
3 --- a/icinga-app/CMakeLists.txt
4 +++ b/icinga-app/CMakeLists.txt
5 @@ -106,7 +106,3 @@ install(
6 TARGETS icinga-app
7 RUNTIME DESTINATION ${InstallPath}
10 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}\")")
11 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}\")")
12 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_INITRUNDIR}\")")
13 diff --git a/lib/base/CMakeLists.txt b/lib/base/CMakeLists.txt
14 index 5dda179..22cf69f 100644
15 --- a/lib/base/CMakeLists.txt
16 +++ b/lib/base/CMakeLists.txt
17 @@ -125,7 +125,4 @@ set_target_properties (
18 FOLDER Lib
21 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_CACHEDIR}\")")
22 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}/crash\")")
24 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)
25 diff --git a/lib/perfdata/CMakeLists.txt b/lib/perfdata/CMakeLists.txt
26 index ab963f7..3d9d506 100644
27 --- a/lib/perfdata/CMakeLists.txt
28 +++ b/lib/perfdata/CMakeLists.txt
29 @@ -74,7 +74,4 @@ install_if_not_exists(
30 ${ICINGA2_CONFIGDIR}/features-available
33 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}/perfdata\")")
34 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}/tmp\")")
36 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)
37 diff --git a/lib/remote/CMakeLists.txt b/lib/remote/CMakeLists.txt
38 index 65113d2..5e4398f 100644
39 --- a/lib/remote/CMakeLists.txt
40 +++ b/lib/remote/CMakeLists.txt
41 @@ -55,12 +55,3 @@ set_target_properties (
42 remote PROPERTIES
43 FOLDER Lib
46 -#install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api\")")
47 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/log\")")
48 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/zones\")")
49 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/api/zones-stage\")")
50 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/certs\")")
51 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_DATADIR}/certificate-requests\")")
54 diff --git a/lib/compat/CMakeLists.txt b/lib/compat/CMakeLists.txt
55 index 1438626..d882ae2 100644
56 --- a/lib/compat/CMakeLists.txt
57 +++ b/lib/compat/CMakeLists.txt
58 @@ -55,8 +55,4 @@ install_if_not_exists(
59 ${ICINGA2_CONFIGDIR}/features-available
62 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_LOGDIR}/compat/archives\")")
63 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_SPOOLDIR}\")")
64 -install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_INITRUNDIR}/cmd\")")
66 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)