diff options
| author | John Marino <marino@FreeBSD.org> | 2016-08-23 14:32:09 +0000 |
|---|---|---|
| committer | John Marino <marino@FreeBSD.org> | 2016-08-23 14:32:09 +0000 |
| commit | 35e6a8f401e2e16c6eed56c0ee314df934f75698 (patch) | |
| tree | 7f6d387cf57b80e49016043497144c56b0fabd4b /misc/nms/files/patch-Makefile | |
| parent | Fix the build with LibreSSL. (diff) | |
misc/nms: document ncurses, honor CFLAGS and LDFLAGS
Approved by: just-fix-it + ncurses blanket
Diffstat (limited to 'misc/nms/files/patch-Makefile')
| -rw-r--r-- | misc/nms/files/patch-Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/misc/nms/files/patch-Makefile b/misc/nms/files/patch-Makefile index 4be0c2bc8f56..851174021f14 100644 --- a/misc/nms/files/patch-Makefile +++ b/misc/nms/files/patch-Makefile @@ -1,11 +1,15 @@ ---- Makefile.orig 2016-04-30 01:05:20 UTC +--- Makefile.orig 2016-07-14 12:48:22 UTC +++ Makefile -@@ -2,7 +2,7 @@ BIN=bin +@@ -14,9 +14,9 @@ BIN=bin OBJ=obj SRC=src -CC = gcc +-CFLAGS = -Wextra -Wall +-LDLIBS = -lncursesw +CC ?= gcc - CFLAGS = -Wextra -Wall - LDLIBS = -lncurses ++CFLAGS ?= -Wextra -Wall ++LDLIBS = $(LDFLAGS) -lncursesw + DARWIN_LDLIBS = -lncurses NCURSES_H = /usr/include/ncurses.h + |
