pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-sshfs rst2man: Fix sandbox builds: en...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4beef052c4d2
branches:  trunk
changeset: 771624:4beef052c4d2
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Dec 20 07:09:07 2021 +0000

description:
rst2man: Fix sandbox builds: ensure the versioned rst2man executable
is found so that man pages are always generated.

diffstat:

 filesystems/fuse-sshfs/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r aef83175c06e -r 4beef052c4d2 filesystems/fuse-sshfs/Makefile
--- a/filesystems/fuse-sshfs/Makefile   Mon Dec 20 07:02:20 2021 +0000
+++ b/filesystems/fuse-sshfs/Makefile   Mon Dec 20 07:09:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2021/12/08 16:04:21 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/12/20 07:09:07 nia Exp $
 #
 
 DISTNAME=      sshfs-3.7.2
@@ -18,6 +18,17 @@
 USE_LANGUAGES= c
 USE_TOOLS=     pkg-config
 
+PYTHON_FOR_BUILD_ONLY= tool
+
+.include "../../lang/python/pyversion.mk"
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+
+SUBST_CLASSES+=                rst2man
+SUBST_STAGE.rst2man=   pre-configure
+SUBST_FILES.rst2man+=  meson.build
+SUBST_SED.rst2man+=    -e "s,rst2man.py,rst2man-${PYVERSSUFFIX},g"
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/meson/build.mk"
 .include "../../mk/fuse.buildlink3.mk"



Home | Main Index | Thread Index | Old Index