rrdtool/rrdtool-1.5.0-python-fix.patch

16 lines
676 B
Diff
Raw Normal View History

diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index bdfee3b..6d34847 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -38,8 +38,8 @@ install-data-local:
&& ( cd ${builddir}/python \
&& env BUILDLIBDIR=${abs_top_builddir}/src/.libs \
$(PYTHON) ${abs_srcdir}/python/setup.py install \
- --skip-build --prefix=$(DESTDIR)$(prefix) \
- --exec-prefix=$(DESTDIR)$(exec_prefix) ) \
+ --skip-build --root=$(DESTDIR) --prefix=$(prefix) \
+ --exec-prefix=$(exec_prefix)) \
|| true
# rules for building the ruby module