SHA256
1
0
forked from pool/fish
fish/fix-pc-file-paths.patch
Simon Lees 93c4a95f20 Accepting request 871023 from home:simotek:branches:shells
- pc file contained references to /usr/local (boo#1181888)
  * fix-pc-file-paths.patch - Already fixed upstream

OBS-URL: https://build.opensuse.org/request/show/871023
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=56
2021-02-11 02:53:00 +00:00

24 lines
887 B
Diff

Index: fish-3.1.2/cmake/Install.cmake
===================================================================
--- fish-3.1.2.orig/cmake/Install.cmake
+++ fish-3.1.2/cmake/Install.cmake
@@ -25,15 +25,15 @@ SET(configure_input
DO NOT MANUALLY EDIT THIS FILE!")
SET(extra_completionsdir
- /usr/local/share/fish/vendor_completions.d
+ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_completions.d
CACHE STRING "Path for extra completions")
SET(extra_functionsdir
- /usr/local/share/fish/vendor_functions.d
+ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_functions.d
CACHE STRING "Path for extra functions")
SET(extra_confdir
- /usr/local/share/fish/vendor_conf.d
+ ${CMAKE_INSTALL_FULL_DATADIR}/fish/vendor_conf.d
CACHE STRING "Path for extra configuration")
# These are the man pages that go in system manpath; all manpages go in the fish-specific manpath.