I reported an issue and they fixed the missing option to disable Python. version 2.14.3 (2021/09/25): * Added an option to disable python2 support. (LIBGNT-16) (RR 930) (Gary Kramlich) * Add an option to disable building the docs. (LIBGNT-17) (RR 945) (Helmut Grohne, Gary Kramlich)
Index: Makefile =================================================================== RCS file: /home/cvs/ports/devel/libgnt/Makefile,v retrieving revision 1.2 diff -u -p -u -p -r1.2 Makefile --- Makefile 8 Sep 2021 18:54:38 -0000 1.2 +++ Makefile 26 Sep 2021 04:14:23 -0000 @@ -2,7 +2,7 @@ COMMENT= ncurses toolkit for text-mode graphical user interfaces -VER= 2.14.2 +VER= 2.14.3 DISTNAME= libgnt-${VER} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pidgin/libgnt/${VER}/} @@ -25,6 +25,8 @@ BUILD_DEPENDS= devel/gettext,-tools \ textproc/gtk-doc LIB_DEPENDS= devel/glib2 \ textproc/libxml + +CONFIGURE_ARGS+=-Dpython2=false NO_TEST= Yes Index: distinfo =================================================================== RCS file: /home/cvs/ports/devel/libgnt/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 8 Sep 2021 09:13:58 -0000 1.1.1.1 +++ distinfo 26 Sep 2021 04:12:42 -0000 @@ -1,2 +1,2 @@ -SHA256 (libgnt-2.14.2.tar.xz) = Yc90sU7vEIaLLYkul1qnhhTwlMj00w39Gq7fUuYSDnU= -SIZE (libgnt-2.14.2.tar.xz) = 106128 +SHA256 (libgnt-2.14.3.tar.xz) = V/VFf3KZnQuxoTmjfydG7BtaAsCU8nEKM52LzqQjYSM= +SIZE (libgnt-2.14.3.tar.xz) = 106388 Index: patches/patch-meson_build =================================================================== RCS file: patches/patch-meson_build diff -N patches/patch-meson_build --- patches/patch-meson_build 8 Sep 2021 09:13:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@ -$OpenBSD: patch-meson_build,v 1.1.1.1 2021/09/08 09:13:58 landry Exp $ - -Index: meson.build ---- meson.build.orig -+++ meson.build -@@ -190,13 +190,6 @@ libgnt_headers = [ - 'gnt.h' - ] - --# Check for Python headers --python_dep = dependency('python2', required : false) --if not python_dep.found() -- python_dep = dependency('python-2.7', required : false) --endif --gnt_config.set('USE_PYTHON', python_dep.found()) -- - configure_file(output : 'gntconfig.h', - configuration : gnt_config) - -@@ -219,7 +212,7 @@ libgnt = library('gnt', - version : '@0@.@1@.@2@'.format(gnt_soversion, - gnt_minor_version, - gnt_micro_version), -- dependencies : [ncurses, libxml, glib, gobject, gmodule, python_dep]) -+ dependencies : [ncurses, libxml, glib, gobject, gmodule]) - libgnt_dep = declare_dependency( - include_directories : libgnt_inc, - link_with : libgnt,