File: nfs-ganesha-config.patch

package info (click to toggle)
nfs-ganesha 2.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,044 kB
  • sloc: ansic: 144,377; cpp: 6,985; perl: 4,985; python: 2,766; sh: 2,604; lex: 606; yacc: 411; makefile: 67; awk: 22; lisp: 20
file content (13 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -86,6 +86,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
      message( STATUS "Detected a Linux Debian base machine" )
      set(DISTRO "DEBIAN")
      set(LIBEXECDIR "/usr/lib")
+  elseif( ${SYS_RELEASE} MATCHES "Debian" )
+     message( STATUS "Detected a Linux Debian machine" )
+     set(DISTRO "Debian")
+     set(LIBEXECDIR "/usr/lib")
   else( ${SYS_RELEASE} MATCHES "Red Hat" )
      message( STATUS "Detected an UNKNOWN Linux machine" )
      set(DISTRO "UNKNOWN")