freebsd-ports/graphics/digikam-kde4/files/patch-digikam__CMakeLists.txt
Max Brazhnikov 185d740a10 Update to 2.6.0. Port changes:
- add LICENSE (GPLv2)
- convert to new options framework
- make NLS optional
- add MYSQL option to build MySQL database support
- remove LENSFUN option (graphics/lensfun is now required)
- remove MARBLE option (libkgeomap provides this and is required)
- remove no longer needed patches

Submitted by:	Jason E. Hale <bsdkaffee at gmail.com> via area51 commit
2012-06-09 13:54:02 +00:00

13 lines
540 B
Text

--- ./digikam/CMakeLists.txt.orig 2012-01-02 19:32:42.000000000 -0500
+++ ./digikam/CMakeLists.txt 2012-05-14 20:28:25.000000000 -0400
@@ -118,6 +118,10 @@
TARGET_LINK_LIBRARIES(digikamcore ${X11_LIBRARIES})
ENDIF(Q_WS_X11)
+IF(${node_platform} MATCHES freebsd)
+ TARGET_LINK_LIBRARIES(digikamcore ${KVM_LIBRARY})
+ENDIF(${node_platform} MATCHES freebsd)
+
# For Contents Aware Resizer and Lens auto-correction tools.
IF(GLIB2_FOUND)
TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES} ${liblqr_LIBS} ${liblensfun_LIBS})