geo/viking: make sure xsltproc doesnt fetch external xsl

add docbook to MODGNOME_TOOLS, and patch out the path to docbook.xsl
build breakage noticed by tb@
This commit is contained in:
landry 2021-03-30 06:56:01 +00:00
parent daa978c522
commit 4fa1b8cef2
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2021/03/29 13:04:53 landry Exp $
# $OpenBSD: Makefile,v 1.48 2021/03/30 06:56:01 landry Exp $
COMMENT = GPS track manager
@ -29,7 +29,7 @@ COMPILER = base-clang ports-gcc
CONFIGURE_STYLE = gnu
# to ensure X11 libs are found when checking for XSetErrorHandler
CONFIGURE_ENV += CFLAGS="-L${X11BASE}/lib"
MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache yelp
MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache yelp docbook
USE_GMAKE = Yes

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-help_Makefile_in,v 1.1 2021/03/30 06:56:01 landry Exp $
Index: help/Makefile.in
--- help/Makefile.in.orig
+++ help/Makefile.in
@@ -648,7 +648,7 @@ C/figures/%.png:
-cp -f ../src/icons/$(notdir $@) C/figures/
%.1: %.xml
- $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ $(XSLTPROC) -o $@ $(prefix)/share/xsl/docbook/manpages/docbook.xsl $<
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.