File: 0003-Set-default-debian-location-for-freeDiameter-configu.patch

package info (click to toggle)
freediameter 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,176 kB
  • sloc: ansic: 74,390; yacc: 3,340; lex: 1,937; cpp: 1,579; xml: 795; php: 486; makefile: 463; python: 443; sql: 337; sh: 242; perl: 105
file content (21 lines) | stat: -rw-r--r-- 917 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Wed, 8 Aug 2018 14:30:21 +0200
Subject: Set default debian location for freeDiameter configuration files

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40e3b29..b0396c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
 
 # The default directories
-SET(DEFAULT_CONF_PATH ${CMAKE_INSTALL_PREFIX}/etc/freeDiameter CACHE PATH "Default location of freeDiameter configuration files")
+SET(DEFAULT_CONF_PATH /etc/freeDiameter CACHE PATH "Default location of freeDiameter configuration files")
 
 IF (NOT DEFINED LIB_INSTALL_DIR)
 SET(LIB_INSTALL_DIR lib CACHE PATH "Default library path name on the system, to accomodate RPM-based systems that use lib64")