pkgsrc-Changes archive

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

CVS commit: pkgsrc/filesystems/fuse-sshfs



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Dec 20 07:09:08 UTC 2021

Modified Files:
        pkgsrc/filesystems/fuse-sshfs: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/filesystems/fuse-sshfs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/filesystems/fuse-sshfs/Makefile
diff -u pkgsrc/filesystems/fuse-sshfs/Makefile:1.5 pkgsrc/filesystems/fuse-sshfs/Makefile:1.6
--- pkgsrc/filesystems/fuse-sshfs/Makefile:1.5  Wed Dec  8 16:04:21 2021
+++ pkgsrc/filesystems/fuse-sshfs/Makefile      Mon Dec 20 07:09:07 2021
@@ -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 @@ LICENSE=     gnu-gpl-v2
 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