File: always-pick-linux-manpages.patch

package info (click to toggle)
dislocker 0.7.3%2Bgit20250907-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 968 kB
  • sloc: ansic: 9,108; ruby: 175; makefile: 115; sh: 21
file content (20 lines) | stat: -rw-r--r-- 675 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Always pick the Linux-specific manpage sources
 There are no specific manpages available for the Hurd (and formerly kFreeBSD). 
Author: Sven Geuer <sge@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873530
Forwarded: not-needed
Last-Update: 2025-09-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -184,8 +184,7 @@
 	set(bindir "${CMAKE_INSTALL_PREFIX}/bin")
 endif()
 
-string (TOLOWER "${CMAKE_SYSTEM_NAME}" SYSNAME)
-set (DIS_MAN ${PROJECT_SOURCE_DIR}/man/${SYSNAME})
+set (DIS_MAN ${PROJECT_SOURCE_DIR}/man/linux)
 
 # RPATH handling
 if(POLICY CMP0042)