You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-server/pvpgn/files/pvpgn-1.99.7.2.1-path.patch

34 lines
1.0 KiB

--- 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()