[...] if [ -x "/usr/local/bin/gnome-doc-tool" ]; then \ "/usr/local/bin/gnome-doc-tool" html -o html ./docbook/GuideIndex.xml ; \ else \ echo "gnome-doc-tool not found, html is not built" ; \ fi getopt: illegal option -- s getopt: illegal option -- s getopt: illegal option -- f [...] getopt: illegal option -- h getopt: illegal option -- p Usage: gnome-doc-tool html [OPTIONS] FILE Convert FILE into HTML. [...] gmake[4]: *** [Makefile:505: html/GuideIndex.html] Error 1 gmake[4]: Leaving directory '/usr/ports/graphics/geeqie/work/geeqie-1.5.1/doc' gmake[3]: *** [Makefile:440: install-data-am] Error 2 gmake[3]: Leaving directory '/usr/ports/graphics/geeqie/work/geeqie-1.5.1/doc' gmake[2]: *** [Makefile:396: install-am] Error 2 gmake[2]: Leaving directory '/usr/ports/graphics/geeqie/work/geeqie-1.5.1/doc' gmake[1]: *** [Makefile:674: install-recursive] Error 1 gmake[1]: Leaving directory '/usr/ports/graphics/geeqie/work/geeqie-1.5.1' *** Error code 2 Stop. make: stopped in /usr/ports/graphics/geeqie root@vladiom:~ # uname -srm FreeBSD 12.0-RELEASE-p10 amd64
The error appears if gnome-doc-utils installed. Caused by this lines in work/geeqie-1.5.1/doc/Makefile.am: 9 rm -rf html; mkdir html; cp $(srcdir)/icons/* html/ 10 if [ -x "$(GNOME_DOC_TOOL)" ]; then \ 11 "$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \ 12 else \ 13 echo "gnome-doc-tool not found, html is not built" ; \ 14 fi 15 16 html: html/GuideIndex.html 17 18 install-data-hook: html 19 if [ -x "$(GNOME_DOC_TOOL)" ]; then \ 20 $(MKDIR_P) "$(DESTDIR)$(helpdir)" || exit 1; \ 21 cd $(srcdir)/html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done; \ 22 ln -s -f GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \ 23 fi 24
A commit references this bug: Author: amdmi3 Date: Mon Sep 9 14:13:06 UTC 2019 New revision: 511631 URL: https://svnweb.freebsd.org/changeset/ports/511631 Log: - Fix build in presence of gnome-doc-utils PR: 240214 Reported by: admin@vladiom.com.ua Changes: head/graphics/geeqie/files/patch-Makefile.am