gentoo-ebuilds/app-backup/bareos/files/bareos-21-cmake-gentoo.patch
Marc Schiffbauer bb4196df66
app-backup/bareos: add 21.0.0
Closes: https://bugs.gentoo.org/830682
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
2022-02-01 00:02:18 -10:00

12 lines
694 B
Diff

diff -ur bareos-Release-21.0.0.orig/core/platforms/CMakeLists.txt bareos-Release-21.0.0/core/platforms/CMakeLists.txt
--- bareos-Release-21.0.0.orig/core/platforms/CMakeLists.txt 2021-12-21 01:00:49.000000000 -1000
+++ bareos-Release-21.0.0/core/platforms/CMakeLists.txt 2022-01-30 15:09:41.949529813 -1000
@@ -30,6 +30,8 @@
message(STATUS "adding subdirectories debian and univention")
add_subdirectory(debian)
add_subdirectory(univention)
+ elseif(${PLATFORM} STREQUAL gentoo)
+ message(STATUS "PLATFORM: " ${PLATFORM})
elseif(${BAREOS_PLATFORM} STREQUAL hpux)
message(STATUS "BAREOS_PLATFORM: " ${BAREOS_PLATFORM})
elseif(${BAREOS_PLATFORM} STREQUAL archlinux)