summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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
+