freebsd-ports/net/cnd/files/patch-Makefile
John Marino 7929751b52 net/cnd: document ncurses requirement (USES+=ncurses), respect LDFLAGS
Both patches got regenerated with makepatch in the process.

approved by:	infrastructure blanket
2016-02-05 12:02:37 +00:00

15 lines
334 B
Text

--- Makefile.orig 2005-03-03 05:59:05 UTC
+++ Makefile
@@ -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) $(LDFLAGS) -lncurses
.c.o:
$(CC) $(CFLAGS) -c -I/usr/include/ -o $@ $<
.SUFFIXS: .c .o