svn commit: r439841 - head/editors/calligra/files
Tobias C. Berner
tcberner at FreeBSD.org
Sun Apr 30 20:20:33 UTC 2017
Author: tcberner
Date: Sun Apr 30 20:20:32 2017
New Revision: 439841
URL: https://svnweb.freebsd.org/changeset/ports/439841
Log:
Fix linking against jpeg.
As ${LOCALBASE}/lib is was not unconditionally part of the linker flags (only if
POSTGRES option was selected), linking of calligra could fail with
/usr/bin/ld: cannot find -ljpeg
Fix it, by using ${JPEG_LIBRARY} as provided by cmake.
PR: 218726
Approved by: rakuco (mentor)
Added:
head/editors/calligra/files/
head/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt (contents, props changed)
Added: head/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt Sun Apr 30 20:20:32 2017 (r439841)
@@ -0,0 +1,11 @@
+--- filters/karbon/pdf/CMakeLists.txt.orig 2017-04-19 08:08:55 UTC
++++ filters/karbon/pdf/CMakeLists.txt
+@@ -10,7 +10,7 @@ kde4_add_plugin(calligra_filter_pdf2svg
+
+ target_link_libraries(calligra_filter_pdf2svg komain ${POPPLER_LIBRARY} ${POPPLER_CORE_LIBRARY})
+ if(JPEG_FOUND)
+- target_link_libraries(calligra_filter_pdf2svg jpeg)
++ target_link_libraries(calligra_filter_pdf2svg ${JPEG_LIBRARY})
+ endif()
+ if(OPENJPEG_FOUND)
+ target_link_libraries(calligra_filter_pdf2svg ${OPENJPEG_LIBRARIES})
More information about the svn-ports-head
mailing list