Fix build on -current.
This commit is contained in:
parent
a5e80c1550
commit
87ae5099c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365061
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ OPTIONS_DEFINE= USB DOCS
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -3,8 +3,8 @@ NO_MAN = oh...
|
|||
|
||||
SRCS = main.c crc.c serial.c common.c bar.c
|
||||
|
||||
LDADD += -lreadline -ltermcap
|
||||
CFLAGS += -DHAVE_READLINE
|
||||
LDADD += -lreadline -ltermcap ${LDFLAGS}
|
||||
CFLAGS += -DHAVE_READLINE ${CPPFLAGS}
|
||||
|
||||
.if !defined(WITHOUT_USB)
|
||||
. if ${OSVERSION} < 800069
|
||||
|
|
Loading…
Reference in a new issue