7789398d16
While here, appease both portclippy/portfmt and simplify port. Changes: https://github.com/fish-shell/fish-shell/releases/tag/3.2.0 https://github.com/fish-shell/fish-shell/releases/tag/3.2.1 PR: 254388 Reviewed by: asomers (maintainer) Approved by: fernape (mentor) Differential Revision: https://reviews.freebsd.org/D29395
20 lines
824 B
CMake
20 lines
824 B
CMake
--- cmake/Install.cmake.orig 2021-03-18 18:04:54 UTC
|
|
+++ cmake/Install.cmake
|
|
@@ -102,7 +102,7 @@ install(FILES share/config.fish
|
|
fish_create_dirs(${rel_datadir}/fish/vendor_completions.d ${rel_datadir}/fish/vendor_functions.d
|
|
${rel_datadir}/fish/vendor_conf.d)
|
|
|
|
-fish_try_create_dirs(${rel_datadir}/pkgconfig)
|
|
+fish_try_create_dirs(${rel_datadir}/../libdata/pkgconfig)
|
|
configure_file(fish.pc.in fish.pc.noversion @ONLY)
|
|
|
|
add_custom_command(OUTPUT fish.pc
|
|
@@ -115,7 +115,7 @@ add_custom_command(OUTPUT fish.pc
|
|
add_custom_target(build_fish_pc ALL DEPENDS fish.pc)
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/fish.pc
|
|
- DESTINATION ${rel_datadir}/pkgconfig)
|
|
+ DESTINATION ${rel_datadir}/../libdata/pkgconfig)
|
|
|
|
install(DIRECTORY share/completions/
|
|
DESTINATION ${rel_datadir}/fish/completions
|