1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/vde/files/patch-slirpvde::Makefile
Raphael Kubo da Costa b195cfd7e9 - Fix the build when gcc is not present.
- Support staging.
- Set LICENSE.
- Switch from USE_GMAKE to USES=gmake.
2014-01-03 05:40:21 +00:00

28 lines
611 B
Plaintext

--- 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)