* Add some quotes by amigojapan. * Some improvements for spelling, punctuation and grammar. * Extract a common C header. OBS-URL: https://build.opensuse.org/package/show/Base:System/fortune?expand=0&rev=20
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
Index: fortune-mod/CMakeLists.txt
|
|
===================================================================
|
|
--- fortune-mod.orig/CMakeLists.txt
|
|
+++ fortune-mod/CMakeLists.txt
|
|
@@ -84,9 +84,9 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TR
|
|
|
|
SET (WITH_TEST_SUITE CACHE BOOL "")
|
|
SET (NO_OFFENSIVE CACHE BOOL "Exclude the offensive option.")
|
|
-SET (LOCALDIR "${CMAKE_INSTALL_PREFIX}/local/share/games/fortunes" CACHE STRING "LOCALDIR fortunes dir")
|
|
+SET (LOCALDIR "${CMAKE_INSTALL_PREFIX}/share/fortune" CACHE STRING "LOCALDIR fortunes dir")
|
|
SET (LOCALODIR "${LOCALDIR}/off" CACHE STRING "offensive fortunes localdir")
|
|
-SET (COOKIEDIR "${CMAKE_INSTALL_PREFIX}/share/games/fortunes" CACHE STRING "cookie dir not under /usr/local")
|
|
+SET (COOKIEDIR "${CMAKE_INSTALL_PREFIX}/share/fortune/cookies" CACHE STRING "cookie dir not under /usr/local")
|
|
SET (OCOOKIEDIR "${COOKIEDIR}/off" CACHE STRING "offensive cookie dir not under /usr/local")
|
|
|
|
SHLOMIF_ADD_COMMON_C_FLAGS()
|
|
@@ -109,7 +109,7 @@ ENDMACRO()
|
|
my_exe(
|
|
"fortune"
|
|
"fortune/fortune.c"
|
|
- "games"
|
|
+ "bin"
|
|
)
|
|
|
|
my_exe(
|