git: c750f7c10c81 - main - net/py-libdnet: Prepare for py-setuptools 69.10.0 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:50:41 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c750f7c10c8191f6913d8fe53d089560fca3f800
commit c750f7c10c8191f6913d8fe53d089560fca3f800
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:33:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:18 +0000
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
---
net/libdnet/Makefile | 2 +-
net/libdnet/files/patch-python-Makefile.am | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index 30033b494c2d..d41ff2b53826 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libdnet
PORTVERSION= 1.13
DISTVERSIONPREFIX= v
-PORTREVISION= 3
+PORTREVISION?= 3
CATEGORIES?= net
MAINTAINER?= onatan@gmail.com
diff --git a/net/libdnet/files/patch-python-Makefile.am b/net/libdnet/files/patch-python-Makefile.am
new file mode 100644
index 000000000000..4496280545bf
--- /dev/null
+++ b/net/libdnet/files/patch-python-Makefile.am
@@ -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
+