diff options
Diffstat (limited to 'media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch')
-rw-r--r-- | media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch b/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch new file mode 100644 index 000000000000..c36e0c20ab52 --- /dev/null +++ b/media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch @@ -0,0 +1,14 @@ +Fully respect DESTDIR. + +https://bugs.gentoo.org/796557#c1 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -436,7 +436,7 @@ + if(UNIX AND NOT APPLE) + install(FILES docs/melt.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 RENAME melt-${MLT_VERSION_MAJOR}.1) + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink melt-${MLT_VERSION_MAJOR}.1 melt.1 \ +- WORKING_DIRECTORY ${CMAKE_INSTALL_FULL_MANDIR}/man1)" ++ WORKING_DIRECTORY \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_MANDIR}/man1)" + ) + endif() + |