Ticket #42565: patch-src-config.mk.diff

File patch-src-config.mk.diff, 644 bytes (added by pdm@…, 11 years ago)
  • config.mk

     
    66PREFIX = /usr/local
    77MANPREFIX = ${PREFIX}/share/man
    88
    9 INCS = -I. -I/usr/include -I/usr/local/include
     9INCS = -I. -I${PREFIX}/include
    1010LIBS = -lc -lutil -lncursesw
    1111# NetBSD
    1212#LIBS = -lc -lutil -lcurses
     
    1616#INCS += -I/usr/include/ncurses
    1717
    1818CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
    19 LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}
     19LDFLAGS += -L${PREFIX}/lib ${LIBS}
    2020
    2121DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter
    2222