We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view media-libs/mlt/files/mlt-7.0.1-cmake-symlink.patch @ 271:42f152f7bd51 default tip

[sync] imported 19745ea..26957c3 from upstream commit 26957c37396048346e2760cf909dce89f35961ae Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon May 19 21:10:04 2025 +0200 app-misc/qutescoop: force X11 compatibility mode on Wayland to work around OpenGL corruption
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 19 May 2025 19:15:01 +0000
parents 3ea8643fd217
children
line wrap: on
line source

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()