git: 68e75b2e5cc6 - main - graphics/libheif: do not create compatibility link
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jul 2024 08:56:59 UTC
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=68e75b2e5cc6d3207818eaed1986b1f69c6206f6 commit 68e75b2e5cc6d3207818eaed1986b1f69c6206f6 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-07-25 08:56:04 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-07-25 08:56:04 +0000 graphics/libheif: do not create compatibility link Reported by: sunpoet --- graphics/libheif/files/patch-examples_CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/graphics/libheif/files/patch-examples_CMakeLists.txt b/graphics/libheif/files/patch-examples_CMakeLists.txt new file mode 100644 index 000000000000..0ca5c7d3f35a --- /dev/null +++ b/graphics/libheif/files/patch-examples_CMakeLists.txt @@ -0,0 +1,15 @@ +--- examples/CMakeLists.txt.orig 2024-07-22 18:07:55 UTC ++++ examples/CMakeLists.txt +@@ -32,12 +32,6 @@ install(FILES heif-dec.1 DESTINATION ${CMAKE_INSTALL_M + install(TARGETS heif-dec RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(FILES heif-dec.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) + +-# create symbolic link from the old name `heif-convert` to `heif-dec` +-if(NOT WIN32) +- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX} ${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") +-else() +- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX} ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") +-endif() + + + add_executable(heif-enc ${getopt_sources}