1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net/cnd/files/patch-Makefile
Gleb Smirnoff c1677ca11a Patch cnd so that it uses getifaddrs(3) instead of nosing
in kernel memory via kvm(3).

This fixes breakage on head, as well as avoid breakages
in the future.

Approved by:	lme
2014-10-02 14:56:02 +00:00

16 lines
370 B
Plaintext

--- Makefile.orig 2005-03-03 08:59:05.000000000 +0300
+++ Makefile 2014-10-02 18:10:01.000000000 +0400
@@ -1,10 +1,10 @@
-CC = cc
+CC ?= cc
CFLAGS += -Wall
PREFIX ?= /usr/local
OBJS = main.o
all: $(OBJS)
- $(CC) $(CFLAGS) -o cnd $(OBJS) -lcurses -lkvm
+ $(CC) $(CFLAGS) -o cnd $(OBJS) -lcurses
.c.o:
$(CC) $(CFLAGS) -c -I/usr/include/ -o $@ $<
.SUFFIXS: .c .o