diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-04-30 20:20:32 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2017-04-30 20:20:32 +0000 |
commit | eb1d37a08ce49f34c424cb4ec226311db39c9b9e (patch) | |
tree | 559e27fddd8ddd7e60a26b55d28a9c5871816014 /editors/calligra/files | |
parent | 2017-04-30 misc/terraform: Unfetchable for more than six months (google code ... (diff) |
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)
Notes
Notes:
svn path=/head/; revision=439841
Diffstat (limited to 'editors/calligra/files')
-rw-r--r-- | editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt b/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt new file mode 100644 index 000000000000..58b1150d84a6 --- /dev/null +++ b/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt @@ -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}) |