opnsense-ports/net/tcpdstat/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
400 B
Text

--- Makefile.orig 2014-06-24 12:55:40.174706872 +0800
+++ Makefile 2014-06-24 12:55:48.621709202 +0800
@@ -11,7 +11,7 @@ INCLUDES= -I. $(SYS_INCLUDES)
all: $(PROGS)
install: $(PROGS)
- $(INSTALL) $(COPY) -m 0755 $(PROGS) $(PREFIX)/bin
+ $(INSTALL) $(COPY) -m 0755 $(PROGS) $(DESTDIR)$(PREFIX)/bin
tcpdstat: $(OBJS)
$(CC) $(CFLAGS) $(INCLUDES) $(DEFINES) -o $@ $(OBJS) -lpcap -lm $(SYS_LIBS)