net/py-libdnet: Prepare for py-setuptools 69.10.0 update

Thie fix is split into 2 parts.
- This patch works for both current and upcoming py-setuptools.
- PLIST_FILES change in net/py-libdnet is pending because it is not compatible with current py-setuptools (57.0.0).

With hat:	python
This commit is contained in:
Po-Chuan Hsieh 2022-03-25 21:33:16 +08:00
parent 146939ad89
commit c750f7c10c
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 12 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= libdnet
PORTVERSION= 1.13
DISTVERSIONPREFIX= v
PORTREVISION= 3
PORTREVISION?= 3
CATEGORIES?= net
MAINTAINER?= onatan@gmail.com

View file

@ -0,0 +1,11 @@
--- python/Makefile.am.orig 2019-03-19 17:55:02 UTC
+++ python/Makefile.am
@@ -22,7 +22,7 @@ clean: python-clean
distclean: clean
python-install:
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+ $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR)
install-exec-local: python-install