Ticket #42565: patch-src-config.mk.diff
File patch-src-config.mk.diff, 644 bytes (added by pdm@…, 11 years ago) |
---|
-
config.mk
6 6 PREFIX = /usr/local 7 7 MANPREFIX = ${PREFIX}/share/man 8 8 9 INCS = -I. -I /usr/include -I/usr/local/include9 INCS = -I. -I${PREFIX}/include 10 10 LIBS = -lc -lutil -lncursesw 11 11 # NetBSD 12 12 #LIBS = -lc -lutil -lcurses … … 16 16 #INCS += -I/usr/include/ncurses 17 17 18 18 CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG 19 LDFLAGS += -L /usr/lib -L/usr/local/lib ${LIBS}19 LDFLAGS += -L${PREFIX}/lib ${LIBS} 20 20 21 21 DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter 22 22