graphics/jasper: Add missing OPENGL dependencies, use CMAKE_BOOL
Reported by: danfe
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D22936
graphics/jasper: Add missing OPENGL dependencies, use CMAKE_BOOL
Description
Details
Event TimelineComment Actions This change (portrevision 1) re-breaks the no-opengl build. It might not be the only way, but I had to add Comment Actions Sorry for the delay. I'm not able to reproduce any problems. I've built with poudriere, then inside the jail installed various gl and xorg related packages, but the jasper install always succeeds. I also see the build output is the same with all of JAS_ENABLE_OPENGL: ON -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) OpenGL library found: FALSE JAS_HAVE_OPENGL: 0` Could you provide more information? Do you have any idea what is going on with your environment to cause the problem? Comment Actions I'm afraid that I can't reproduce the failure now. Perhaps CMAKE itself has been upgraded in the intervening time, and now understands the tricky boolean logic better. |