git: 57d50ff237da - main - graphics/tiff: Move configure args to correct helper and disable (lib)webp

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 23:34:55 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57d50ff237daa061837b7acc1d6a6c1d98af2179

commit 57d50ff237daa061837b7acc1d6a6c1d98af2179
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-09 23:27:11 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-09 23:33:40 +0000

    graphics/tiff: Move configure args to correct helper and disable (lib)webp
    
    Move CMAKE_DISABLE_FIND_PACKAGE_GLUT, CMAKE_DISABLE_FIND_PACKAGE_OpenGL
    to CMAKE_ON and add CMAKE_DISABLE_FIND_PACKAGE_WebP to disable potential
    build issues in unclean environments
    
    Approved by:    portmgr (blanket, build fix)
---
 graphics/tiff/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 83e435fb3d2d..d96d03ff891f 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -24,10 +24,11 @@ DOCSDIR=	${PREFIX}/share/doc/tiff-${DISTVERSION}
 
 CMAKE_TESTING_ON=	tiff-tests
 
-CMAKE_OFF=	CMAKE_DISABLE_FIND_PACKAGE_GLUT \
-		CMAKE_DISABLE_FIND_PACKAGE_OpenGL \
-		tiff-docs \
+CMAKE_OFF=	tiff-docs \
 		tiff-tests
+CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_GLUT \
+		CMAKE_DISABLE_FIND_PACKAGE_OpenGL \
+		CMAKE_DISABLE_FIND_PACKAGE_WebP
 
 OPTIONS_DEFINE=	DOCS