git: 3bbf0bae390a - main - x11/cinnamon: Disable DOCS option

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 17:05:17 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3bbf0bae390af1df9a353b235b390d1f979065ef

commit 3bbf0bae390af1df9a353b235b390d1f979065ef
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-01-10 19:08:09 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-01-12 17:05:01 +0000

    x11/cinnamon: Disable DOCS option
    
    Fails to build with newer (stricter) versions of libxml2
    
    PR:             275504
    Approved by:    portmgr (maintainer timeout, 1+ month)
---
 x11/cinnamon/Makefile | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index e71048f94bd1..05b4bb0dff64 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cinnamon
 PORTVERSION=	5.4.9
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11 gnome
 DIST_SUBDIR=	gnome
 
@@ -64,16 +64,18 @@ SHEBANG_FILES=	files/* src/data-to-c.pl
 USE_LDCONFIG=	yes
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
-MESON_ARGS=	-Ddisable_networkmanager=true
+PLIST_SUB+=	PORTDOCS="@comment "
+MESON_ARGS=	-Ddocs=false -Ddisable_networkmanager=true
 
 GLIB_SCHEMAS=	org.cinnamon.gschema.xml
 
-OPTIONS_DEFINE=	DOCS NLS
-OPTIONS_DEFAULT=	DOCS NLS
+#OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFINE=		NLS
+OPTIONS_DEFAULT=	NLS
 OPTIONS_SUB=	yes
 
-DOCS_BUILD_DEPENDS=	gtkdocize:textproc/gtk-doc
-DOCS_MESON_TRUE=	docs
+#DOCS_BUILD_DEPENDS=	gtkdocize:textproc/gtk-doc
+#DOCS_MESON_TRUE=	docs
 
 NLS_RUN_DEPENDS=	cinnamon-translations>0:misc/cinnamon-translations