1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build on -current.

This commit is contained in:
Adam Weinberger 2014-08-15 22:24:10 +00:00
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

View File

@ -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>

View File

@ -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