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

28 lines
625 B
Diff
Raw Normal View History

2022-05-16 04:37:09 +02:00
--- a/src/tools/analyzer/Makefile.am
+++ b/src/tools/analyzer/Makefile.am
2022-06-22 23:55:44 +02:00
@@ -1,11 +1,12 @@
2022-05-16 00:23:35 +02:00
sss_analyze_pythondir = $(libexecdir)/sssd
2022-06-22 23:55:44 +02:00
+pkgpythondir = $(python3dir)/sssd
2022-05-16 00:23:35 +02:00
+modulesdir = $(pkgpythondir)/modules
+if BUILD_PYTHON_BINDINGS
dist_sss_analyze_python_SCRIPTS = \
sss_analyze \
$(NULL)
2022-06-22 23:55:44 +02:00
-pkgpythondir = $(python3dir)/sssd
-
dist_pkgpython_DATA = \
__init__.py \
source_files.py \
@@ -15,8 +16,8 @@ dist_pkgpython_DATA = \
2022-05-16 00:23:35 +02:00
sss_analyze.py \
$(NULL)
-modulesdir = $(pkgpythondir)/modules
dist_modules_DATA = \
modules/__init__.py \
modules/request.py \
$(NULL)
+endif