Since the last asciidoc upgrade, sysutils/trackers3 build raises the
following error:
[ 1% 11/232] /usr/local/bin/xsltproc --output
docs/manpages/tracker3-endpoint.1 --stringparam
man.authors.section.enabled 0
/usr/local/etc/asciidoc/docbook-xsl/manpage.xsl
docs/manpages/tracker3-endpoint.1.xml
FAILED: docs/manpages/tracker3-endpoint.1
xsltproc failed because the file 'manpage.xsl' is now located elsewhere:
david:~>cat
/usr/ports/sysutils/tracker3/files/patch-docs_manpages_meson.build
--- docs/manpages/meson.build.orig 2021-06-11 22:30:57 UTC
+++ docs/manpages/meson.build
@@ -32,7 +32,7 @@ foreach m : manpages
command: [xsltproc,
'--output', '@OUTPUT@',
'--stringparam', 'man.authors.section.enabled', '0',
- '/etc/asciidoc/docbook-xsl/manpage.xsl', '@INPUT@'],
+
'/usr/local/lib/python3.8/site-packages/asciidoc/resources/docbook-xsl/manpage.xsl',
'@INPUT@'],
input: xml,
output: manpage,
install: true,
- The new asciidoc port miss the pkg-plist file. -
Patching the port that way solved the issue. But it sounds that this
case also involves a more general problem.
How did the other ports that also call asciidoc against xsl files
handled this problem ?
regards.
--
David Marec
http://wiki.fug-fr.org/doku.php?id=start
--
David Marec
http://wiki.fug-fr.org/doku.php?id=start