diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-libs/newt/files | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-libs/newt/files')
-rw-r--r-- | dev-libs/newt/files/newt-0.52.21-python-sitedir.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/newt/files/newt-0.52.21-python-sitedir.patch b/dev-libs/newt/files/newt-0.52.21-python-sitedir.patch new file mode 100644 index 000000000000..6b535b683cd4 --- /dev/null +++ b/dev-libs/newt/files/newt-0.52.21-python-sitedir.patch @@ -0,0 +1,18 @@ +It is not specified whether the python sitedir is located within the native +ABI's $libdir folder. This breaks Gentoo's py3.7 and 3.8 installations. + +--- a/Makefile.in ++++ b/Makefile.in +@@ -154,9 +154,9 @@ + ln -sf $(LIBNEWTSH) $(DESTDIR)/$(libdir)/$(LIBNEWTSONAME) + [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.$(SOEXT) $(DESTDIR)/$(libdir) || : + [ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS) ; do \ +- [ -d $(DESTDIR)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ +- install -m 755 $$ver/_snack.$(SOEXT) $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ +- install -m 644 snack.py $(DESTDIR)/$(libdir)/$$ver/site-packages ;\ ++ [ -d $(DESTDIR)/$(PYTHON_SITEDIR) ] || install -m 755 -d $(DESTDIR)/$(PYTHON_SITEDIR) ;\ ++ install -m 755 $$ver/_snack.$(SOEXT) $(DESTDIR)/$(PYTHON_SITEDIR) ;\ ++ install -m 644 snack.py $(DESTDIR)/$(PYTHON_SITEDIR) ;\ + done || : + + Makefile: configure.ac |