biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / sigrok / python-install.patch
blob9c25eab6f39a35b701e4a7f3c0a0003be4d4ea33
1 diff --git a/Makefile.am b/Makefile.am
2 index 280cf64d..e10eb79f 100644
3 --- a/Makefile.am
4 +++ b/Makefile.am
5 @@ -888,8 +888,9 @@ $(PDIR)/timestamp: $(PDIR)/sigrok/core/classes.i \
7 python-install:
8 $(AM_V_at)$(MKDIR_P) "$(DESTDIR)$(prefix)" "$(DESTDIR)$(exec_prefix)"
9 - destdir='$(DESTDIR)'; $(setup_py) install $${destdir:+"--root=$$destdir"} \
10 - --prefix "$(prefix)" --exec-prefix "$(exec_prefix)"
11 + destdir='$(DESTDIR)'; $(setup_py) install --root=$${destdir:-/} \
12 + --prefix "$(prefix)" --exec-prefix "$(exec_prefix)" \
13 + --single-version-externally-managed
15 python-clean:
16 -$(AM_V_at)rm -f $(PDIR)/timestamp