Older versions of flex (like the one used in FreeBSD <= 9) expect the

output file name to follow the -o flag immediately, with no intervening
whitespace.

Reported by:	ian@
MFC after:	1 week
This commit is contained in:
des 2014-07-20 14:49:24 +00:00
parent 4af4fa1f6f
commit 05171290aa

View File

@ -82,7 +82,7 @@ ${_S:R}.o: ${_S}
.for _LSRC in ${SRCS:M*.l:N*/*}
.for _LC in ${_LSRC:R}.c
${_LC}: ${_LSRC}
${LEX} ${LFLAGS} -o ${.TARGET} ${.ALLSRC}
${LEX} ${LFLAGS} -o${.TARGET} ${.ALLSRC}
.if !exists(${.OBJDIR}/${DEPENDFILE})
${_LC:R}.o: ${_LC}
.endif