ports/sysutils/k3b-kde4/files/patch-libk3b__CMakeLists.txt
Max Brazhnikov 8162989ab7 sysutils/k3b-kde4:
- Update to 2.0.3
- Remove patches merged upstream, regenerate patches
- Add patch obtained from Gentoo to fix build with modern ffmpeg/libav

PR:		202561
Submitted by:	matthew@reztek.cz
2015-08-25 13:10:47 +00:00

16 lines
414 B
Text

--- libk3b/CMakeLists.txt.orig 2014-11-04 18:37:31 UTC
+++ libk3b/CMakeLists.txt
@@ -230,12 +230,8 @@ target_link_libraries(k3b
${KCDDB_LIBRARIES}
${SAMPLERATE_LIBRARIES}
k3bdevice
+ ${CMAKE_DL_LIBS}
)
-if(NOT WIN32)
- target_link_libraries(k3b dl)
-else(NOT WIN32)
- target_link_libraries(k3b uuid ole32)
-endif(NOT WIN32)
if(ENABLE_DVD_RIPPING)
target_link_libraries(k3b ${DVDREAD_LIBRARIES})