git: 01104d539abe - main - astro/viking: Unbreak by making the MAPNIK option OFF

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 06 Aug 2024 01:44:52 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01104d539abe1de6f5f193c8ec33439523d5d46c

commit 01104d539abe1de6f5f193c8ec33439523d5d46c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-06 01:43:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-06 01:44:49 +0000

    astro/viking: Unbreak by making the MAPNIK option OFF
    
    It isn't compatible with mapnik-4.0.0
    
    Reported by:    fallout
    Approved by:    portmgr (unbreak; blanket)
---
 astro/viking/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/astro/viking/Makefile b/astro/viking/Makefile
index ce798567bda3..c61a8cad6928 100644
--- a/astro/viking/Makefile
+++ b/astro/viking/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	viking
 PORTVERSION=	1.10
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	astro
 MASTER_SITES=	SF/${PORTNAME}/
 
@@ -35,7 +35,7 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 PORTDOCS=	AUTHORS ChangeLog NEWS README.md
 
 OPTIONS_DEFINE=		DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES
-OPTIONS_DEFAULT=	GEOTAG GPSD JOSM MAPNIK MBTILES
+OPTIONS_DEFAULT=	GEOTAG GPSD JOSM MBTILES # MAPNIK compatibility is broken with mapnik-4.0.0
 
 OPTIONS_MULTI=		EDITOR
 OPTIONS_MULTI_EDITOR=	JOSM MERKAATOR
@@ -66,6 +66,7 @@ MAPNIK_LIB_DEPENDS=	libmapnik.so:graphics/mapnik
 MAPNIK_CONFIGURE_ENV=	ac_cv_lib_icuuc_main=no # indirect
 MAPNIK_CONFIGURE_ENABLE=	mapnik
 MAPNIK_CPPFLAGS=	-I${LOCALBASE}/include/mapnik
+MAPNIK_BROKEN=		fails to build with mapnik-4.0.0, see https://sourceforge.net/p/viking/bugs/170/
 
 MBTILES_USES=		sqlite
 MBTILES_CONFIGURE_ENABLE=	mbtiles