gentoo/sys-auth/sssd/files/sssd-2.7.0-conditional-python-install.patch

21 lines
530 B
Diff

--- src/tools/analyzer/Makefile.am.old 2022-05-16 00:02:17.122583752 +0200
+++ src/tools/analyzer/Makefile.am 2022-05-16 00:04:29.499238484 +0200
@@ -1,5 +1,7 @@
sss_analyze_pythondir = $(libexecdir)/sssd
+modulesdir = $(pkgpythondir)/modules
+if BUILD_PYTHON_BINDINGS
dist_sss_analyze_python_SCRIPTS = \
sss_analyze \
$(NULL)
@@ -15,8 +17,8 @@
sss_analyze.py \
$(NULL)
-modulesdir = $(pkgpythondir)/modules
dist_modules_DATA = \
modules/__init__.py \
modules/request.py \
$(NULL)
+endif