Depend on newer flex on FreeBSD 8 and 9.
Reported by: antoine
This commit is contained in:
parent
53016ec1a8
commit
c12b608ef6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354415
1 changed files with 11 additions and 0 deletions
|
@ -17,4 +17,15 @@ GNU_CONFIGURE= yes
|
|||
USES= gmake
|
||||
CONFIGURE_ARGS= --disable-dependency-tracking --disable-html-doc
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 1000033
|
||||
BUILD_DEPENDS+= flex>=2.5.35:${PORTSDIR}/textproc/flex
|
||||
CONFIGURE_ARGS+=LEX=${LOCALBASE}/bin/flex
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's/flex $$(AM_LFLAGS)/$$(LEXCOMPILE)/' \
|
||||
${WRKSRC}/gpasm/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue