Files
macports-ports/graphics/lensfun/files/patch-cmake-docs-rst2man-bin.diff
Christopher Nielsen bddb4401ad lensfun: add patch to fix install path
- Add missing deps: gettext; py-setuptools
- Remove obsolete patch: c++11.patch
- Rename existing patchfiles, to specify purpose for each
Fixes: https://trac.macports.org/ticket/65244
2022-06-07 17:01:05 -04:00

12 lines
504 B
Diff

--- docs/CMakeLists.txt.orig 2015-11-15 09:07:26.000000000 -0800
+++ docs/CMakeLists.txt 2015-11-15 14:25:23.000000000 -0800
@@ -23,7 +23,7 @@
INSTALL(DIRECTORY ${CMAKE_DOC_OUT}/ DESTINATION ${CMAKE_INSTALL_DOCDIR})
# create and install man pages
-FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py)
+FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man-@@PYTHON_VERSION@@.py rst2man rst2man.py rst2man2 rst2man2.py)
ADD_CUSTOM_TARGET(man ALL)
ADD_CUSTOM_COMMAND(
TARGET man