Index: head/graphics/jasper/Makefile =================================================================== --- head/graphics/jasper/Makefile (revision 521013) +++ head/graphics/jasper/Makefile (revision 521014) @@ -1,38 +1,39 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= jasper PORTVERSION= 2.0.16 DISTVERSIONPREFIX= version- CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of the codec specified in the JPEG-2000 standard LICENSE= MIT OPTIONS_DEFINE= OPENGL DOCS OPTIONS_DEFAULT= OPENGL OPTIONS_SUB= yes USE_LDCONFIG= yes USES= cmake jpeg localbase USE_GITHUB= yes GH_ACCOUNT= mdadams -OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL +OPENGL_CMAKE_OFF= -DJAS_ENABLE_OPENGL=false +OPENGL_CMAKE_ON= -DJAS_ENABLE_OPENGL=true OPENGL_USES= gl xorg OPENGL_USE= GL=glut XORG=x11,xext,xi,xmu CMAKE_ARGS= -DJAS_ENABLE_JPEG=true \ -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=false \ -DCMAKE_SKIP_RPATH=true DOCSDIR= ${PREFIX}/share/doc/JasPer post-install-DOCS-off: rm -rf ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/jasper/files/patch-CMakeLists.txt =================================================================== --- head/graphics/jasper/files/patch-CMakeLists.txt (nonexistent) +++ head/graphics/jasper/files/patch-CMakeLists.txt (revision 521014) @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2019-03-12 18:04:35 UTC ++++ CMakeLists.txt +@@ -267,8 +267,8 @@ message("JAS_HAVE_LIBJPEG: ${JAS_HAVE_LIBJPEG}") + # Check for the OpenGL and GLUT libraries. + ################################################################################ + +-find_package(OpenGL ${JAS_REQUIRED}) + message("JAS_ENABLE_OPENGL: ${JAS_ENABLE_OPENGL}") ++find_package(OpenGL ${JAS_OPENGL_REQUIRED}) + message("OpenGL library found: ${OPENGL_FOUND}") + if (JAS_ENABLE_OPENGL AND OPENGL_FOUND) + set(JAS_HAVE_OPENGL 0) Property changes on: head/graphics/jasper/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/jasper/pkg-plist =================================================================== --- head/graphics/jasper/pkg-plist (revision 521013) +++ head/graphics/jasper/pkg-plist (revision 521014) @@ -1,34 +1,34 @@ bin/imgcmp bin/imginfo bin/jasper %%OPENGL%%bin/jiv include/jasper/jas_cm.h include/jasper/jas_config.h include/jasper/jas_dll.h include/jasper/jas_debug.h include/jasper/jas_fix.h include/jasper/jas_getopt.h include/jasper/jas_icc.h include/jasper/jas_image.h include/jasper/jas_init.h include/jasper/jas_malloc.h include/jasper/jas_math.h include/jasper/jas_seq.h include/jasper/jas_stream.h include/jasper/jas_string.h include/jasper/jas_tmr.h include/jasper/jas_tvp.h include/jasper/jas_types.h include/jasper/jas_version.h include/jasper/jasper.h lib/libjasper.so lib/libjasper.so.4 lib/libjasper.so.4.0.0 libdata/pkgconfig/jasper.pc man/man1/imgcmp.1.gz man/man1/imginfo.1.gz man/man1/jasper.1.gz -man/man1/jiv.1.gz +%%OPENGL%%man/man1/jiv.1.gz %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/jasper.pdf %%PORTDOCS%%%%DOCSDIR%%/jpeg2000.pdf