summaryrefslogtreecommitdiff
path: root/games-server/pvpgn/files/pvpgn-1.99.7.2.1-path.patch
blob: 8cfa94610b55a51c88dc800490779cb755e9e892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/cmake/Modules/DefineInstallationPaths.cmake
+++ b/cmake/Modules/DefineInstallationPaths.cmake
@@ -37,8 +37,8 @@
   )
 else()
   SET(LOCALSTATE_INSTALL_DIR
-    "${EXEC_INSTALL_PREFIX}/var/${APPLICATION_NAME}"
-    CACHE PATH "The ${APPLICATION_NAME} local state install dir (default prefix/var)"
+    "/var/${APPLICATION_NAME}"
+    CACHE PATH "The ${APPLICATION_NAME} local state install dir (default /var)"
     FORCE
   )
 endif()
@@ -75,4 +75,4 @@
     CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
     FORCE
   )
-endif()
\ No newline at end of file
+endif()
--- a/cmake/Modules/DefineInstallationPaths.cmake
+++ b/cmake/Modules/DefineInstallationPaths.cmake
@@ -71,8 +71,8 @@
   )
 else()
   SET(SYSCONF_INSTALL_DIR
-    "${EXEC_INSTALL_PREFIX}/etc/${APPLICATION_NAME}"
-    CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
+    "/etc/${APPLICATION_NAME}"
+    CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default /etc)"
     FORCE
   )
 endif()