freebsd-ports/net/vde/files/patch-slirpvde::Makefile
Sergey Matveychuk 032fc7a937 VDE is a user-mode ethernet simulation. It's quite useful for
hooking together multiple qemu instances into a single virtual
network without needing root access.  It can also be used for
tunneling or other network simulation tasks.

PR:		ports/76874
Submitted by:	Craig Boston <craig@yekse.gank.org>
2005-03-11 13:51:32 +00:00

20 lines
424 B
Text

--- slirpvde/Makefile Sat Jan 29 15:02:08 2005
+++ slirpvde/Makefile Sun Jan 30 14:02:57 2005
@@ -3,7 +3,7 @@
tcp_timer.o udp.o \
bootp.o
-CFLAGS=-I. -DVDE
+CFLAGS+=-I. -DVDE
all: libslirp.a slirpvde
@@ -34,7 +34,7 @@
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