[Bug 262888] graphics/poppler 21.12.0_1 Cannot Find libopenjpeg2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Mar 2022 17:10:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262888

--- Comment #9 from Robert Kruus <rob.kruus@gmail.com> ---
(In reply to Citro├źn from comment #8)
openjpeg2 is only a flag to the cmake to look for openjpeg, it has nothing to
do with the port version or port name.

In the CMakeLists.txt file:
if(ENABLE_LIBOPENJPEG STREQUAL "openjpeg2") ...

-DENABLE_LIBOPENJPEG="none" has the port not use openjpeg at all (so will
always work)

In the port Makefile:
OPENJPEG_CMAKE_OFF=-DENABLE_LIBOPENJPEG:STR="none"

-- 
You are receiving this mail because:
You are the assignee for the bug.