f2ab442843
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into errors causing these ports that declare them and use the FreeBSD make infrastructure as part of their build to fail. When the offending variables occur in a BSD Makefile, NO_MAN becomes MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and MK_PROFILE=no respectively. When declared in the environment they become WITHOUT_<FOO>.
16 lines
258 B
Text
16 lines
258 B
Text
PROG = s10sh
|
|
MAN =
|
|
|
|
SRCS = main.c crc.c serial.c common.c bar.c
|
|
|
|
LDADD += -lreadline -lncurses ${LDFLAGS}
|
|
CFLAGS += -DHAVE_READLINE ${CPPFLAGS}
|
|
|
|
.if !defined(WITHOUT_USB)
|
|
LDADD += -lusb
|
|
SRCS += usb.c
|
|
.endif
|
|
|
|
BINDIR = ${LOCALBASE}/bin
|
|
|
|
.include <bsd.prog.mk>
|