aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:33:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:38:18 +0000
commitc750f7c10c8191f6913d8fe53d089560fca3f800 (patch)
treefaa90a2c699c4d4d6672cdde8389a8043168cf94
parent146939ad895d774de5b62f39b81f38af45c64bea (diff)
downloadports-c750f7c10c8191f6913d8fe53d089560fca3f800.tar.gz
ports-c750f7c10c8191f6913d8fe53d089560fca3f800.zip
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
-rw-r--r--net/libdnet/Makefile2
-rw-r--r--net/libdnet/files/patch-python-Makefile.am11
2 files changed, 12 insertions, 1 deletions
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
+