My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/sigrok/python-install.patch

16 lines
620 B

diff --git a/Makefile.am b/Makefile.am
index 280cf64d..e10eb79f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -888,8 +888,9 @@ $(PDIR)/timestamp: $(PDIR)/sigrok/core/classes.i \
python-install:
$(AM_V_at)$(MKDIR_P) "$(DESTDIR)$(prefix)" "$(DESTDIR)$(exec_prefix)"
- destdir='$(DESTDIR)'; $(setup_py) install $${destdir:+"--root=$$destdir"} \
- --prefix "$(prefix)" --exec-prefix "$(exec_prefix)"
+ destdir='$(DESTDIR)'; $(setup_py) install --root=$${destdir:-/} \
+ --prefix "$(prefix)" --exec-prefix "$(exec_prefix)" \
+ --single-version-externally-managed
python-clean:
-$(AM_V_at)rm -f $(PDIR)/timestamp