openbsd-ports/multimedia/k3b-kde4/patches/patch-libk3b_CMakeLists_txt
zhuk e22f0c80ab K3b was created to be a feature-rich and easy to handle CD burning
application.  It can do many things, such as creating or copying audio,
data, video or mixed-mode CDs, CD ripping, and DVD ripping, burning and
blanking.

This is a KDE4 version of multimedia/k3b, thus SHARED_LIBS aren't 0.0.

Okay landry@
2014-07-09 16:40:41 +00:00

21 lines
635 B
Plaintext

$OpenBSD: patch-libk3b_CMakeLists_txt,v 1.1.1.1 2014/07/09 16:40:41 zhuk Exp $
--- libk3b/CMakeLists.txt.orig Sat Jan 19 22:15:31 2013
+++ libk3b/CMakeLists.txt Sat Jan 19 22:20:55 2013
@@ -7,6 +7,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/tools
${CMAKE_CURRENT_BINARY_DIR}/projects
${CMAKE_CURRENT_BINARY_DIR}/jobs
+ ${SAMPLERATE_INCLUDE_DIR}
)
set(CMAKE_REQUIRED_LIBRARIES m)
@@ -232,7 +233,7 @@ target_link_libraries(k3b
k3bdevice
)
if(NOT WIN32)
- target_link_libraries(k3b dl)
+ target_link_libraries(k3b ${CMAKE_DL_LIBS})
else(NOT WIN32)
target_link_libraries(k3b uuid ole32)
endif(NOT WIN32)