aboutsummaryrefslogtreecommitdiff
path: root/net/vde/files/patch-slirpvde__Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/vde/files/patch-slirpvde__Makefile')
-rw-r--r--net/vde/files/patch-slirpvde__Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/vde/files/patch-slirpvde__Makefile b/net/vde/files/patch-slirpvde__Makefile
new file mode 100644
index 000000000000..c7ac0e723503
--- /dev/null
+++ b/net/vde/files/patch-slirpvde__Makefile
@@ -0,0 +1,27 @@
+--- slirpvde/Makefile.orig 2004-06-03 18:19:40.000000000 +0300
++++ slirpvde/Makefile 2014-01-03 07:25:37.000000000 +0200
+@@ -3,7 +3,7 @@
+ tcp_timer.o udp.o \
+ bootp.o
+
+-CFLAGS=-I. -DVDE
++CFLAGS+=-I. -DVDE
+
+ all: libslirp.a slirpvde
+
+@@ -34,12 +34,12 @@
+ udp.o: udp.c ip_icmp.h
+
+ slirpvde: slirpvde.o libslirp.a
+- $(CC) -o slirpvde slirpvde.o libslirp.a
++ $(CC) $(LDFLAGS) -o slirpvde slirpvde.o libslirp.a
+
+ clean:
+ rm -rf *.o slirpvde libslirp.a
+
+ install : slirpvde
+- install -d $(DESTDIR)$(BIN_DIR)
+- install -s slirpvde $(DESTDIR)$(BIN_DIR)
++ install -d $(BIN_DIR)
++ install -s slirpvde $(BIN_DIR)
+