summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-10-28 10:48:39 +0100
committerJeroen Roovers <jer@gentoo.org>2019-10-28 10:49:15 +0100
commit0f97f90369c880c95a869a795a885674bca3a778 (patch)
tree30a98bc3d579e3c17fdad3f8fc6f23f426244881 /net-libs/libnet/files
parentnet-libs/libnet: Old (diff)
downloadgentoo-0f97f90369c880c95a869a795a885674bca3a778.tar.gz
gentoo-0f97f90369c880c95a869a795a885674bca3a778.tar.bz2
gentoo-0f97f90369c880c95a869a795a885674bca3a778.zip
net-libs/libnet: EAPI=7, fix src_test()
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libnet/files')
-rw-r--r--net-libs/libnet/files/libnet-1.0.2a-test.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/libnet/files/libnet-1.0.2a-test.patch b/net-libs/libnet/files/libnet-1.0.2a-test.patch
new file mode 100644
index 000000000000..8bbb2ac45d19
--- /dev/null
+++ b/net-libs/libnet/files/libnet-1.0.2a-test.patch
@@ -0,0 +1,54 @@
+--- a/test/Makefile.in
++++ b/test/Makefile.in
+@@ -9,31 +9,31 @@
+ all: test
+
+ test:
+- if ! test -e ../lib/libnet.a; then \
+- cd .. && make; \
++ if ! test -e ../lib/libnet-1.0.a; then \
++ cd .. && $(MAKE); \
+ fi
+- cd Random; make all
+- cd ICMP; make all
+- cd UDP; make all
+- cd TCP; make all
+- cd Ethernet; make all
+- cd OSPF; make all
++ cd Random; $(MAKE) all
++ cd ICMP; $(MAKE) all
++ cd UDP; $(MAKE) all
++ cd TCP; $(MAKE) all
++ cd Ethernet; $(MAKE) all
++ cd OSPF; $(MAKE) all
+
+ clean:
+- cd Random; make clean
+- cd ICMP; make clean
+- cd UDP; make clean
+- cd TCP; make clean
+- cd Ethernet; make clean
+- cd OSPF; make clean
++ cd Random; $(MAKE) clean
++ cd ICMP; $(MAKE) clean
++ cd UDP; $(MAKE) clean
++ cd TCP; $(MAKE) clean
++ cd Ethernet; $(MAKE) clean
++ cd OSPF; $(MAKE) clean
+
+ distclean: clean
+- cd TCP; make distclean
+- cd UDP; make distclean
+- cd ICMP; make distclean
+- cd Random; make distclean
+- cd Ethernet; make distclean
+- cd OSPF; make distclean
++ cd TCP; $(MAKE) distclean
++ cd UDP; $(MAKE) distclean
++ cd ICMP; $(MAKE) distclean
++ cd Random; $(MAKE) distclean
++ cd Ethernet; $(MAKE) distclean
++ cd OSPF; $(MAKE) distclean
+ rm -f Makefile
+
+ # EOF