aboutsummaryrefslogtreecommitdiff
path: root/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch')
-rw-r--r--package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch
index 4be591be3f..424b30d317 100644
--- a/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch
+++ b/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch
@@ -18,6 +18,8 @@ executable.
- provide proper commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
+[Fabrice: update for 6.0.0]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
python/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -27,16 +29,16 @@ index 59d195f29..a41604f72 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -6,11 +6,11 @@ EXTRA_DIST = setup.py \
- if HAVE_PYTHON
+ if HAVE_PYTHON_DISTUTILS
all-local:
cd $(srcdir) && \
-- $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir)
-+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base $(abs_builddir)
+- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)"
++ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)"
install-exec-local:
cd $(srcdir) && \
-- $(HAVE_PYTHON) setup.py build --build-base $(abs_builddir) \
-+ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base $(abs_builddir) \
+- $(HAVE_PYTHON) setup.py build --build-base "$(abs_builddir)" \
++ $(HAVE_PYTHON) setup.py build -e "/usr/bin/env python" --build-base "$(abs_builddir)" \
install --prefix $(DESTDIR)$(prefix)
uninstall-local: