Created attachment 181862 [details] Poudriere failed build logs Calligra doesn't compile when both databases are unchecked: OPTIONS_FILE_UNSET+=MYSQL OPTIONS_FILE_UNSET+=PGSQL See attached log from poudriere.
Ok, it seems that this is a red herring for an other issue, of -L/usr/local/lib -I/usr/local/include not being passed: /usr/bin/ld: cannot find -ljpeg pgsql.mk seems to do this unconditionally, which is, why it works if PGSQL is enabled. I'll fix this.
Created attachment 181884 [details] fix linking against jpeg Could you please retry with attached diff?
A commit references this bug: Author: tcberner Date: Sun Apr 30 20:20:32 UTC 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) Changes: head/editors/calligra/files/ head/editors/calligra/files/patch-filters_karbon_pdf_CMakeLists.txt