Hi,

While building devel/libgnt I'm getting the following error message
during the configure stage:

--------------------
Program gtkdoc-scan found: NO

../../pobj/libgnt-2.14.2/libgnt-2.14.2/doc/meson.build:29:6: ERROR: Program 
'gtkdoc-scan' not found

A full log can be found at 
/home/ports/pobj/libgnt-2.14.2/build-amd64/meson-logs/meson-log.txt
--------------------

Diff below is one way to fix it.

Caspar


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libgnt/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    8 Sep 2021 09:13:58 -0000       1.1.1.1
+++ Makefile    8 Sep 2021 16:48:31 -0000
@@ -7,6 +7,7 @@ DISTNAME=       libgnt-${VER}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pidgin/libgnt/${VER}/}
 EXTRACT_SUFX=  .tar.xz
+REVISION=      0
 
 SHARED_LIBS=   gnt     0.0
 
@@ -21,7 +22,8 @@ WANTLIB=      curses glib-2.0 gmodule-2.0 gob
 
 MODULES=       devel/meson
 
-BUILD_DEPENDS= devel/gettext,-tools
+BUILD_DEPENDS= devel/gettext,-tools \
+               textproc/gtk-doc
 LIB_DEPENDS=   devel/glib2 \
                textproc/libxml
 

Reply via email to