svn commit: r385076 - head/math/hfst

Dmitry Sivachenko trtrmitya at gmail.com
Fri May 1 10:33:23 UTC 2015


> On 1 мая 2015 г., at 2:53, Jan Beich <jbeich at FreeBSD.org> wrote:
> 
> Author: jbeich
> Date: Thu Apr 30 23:53:03 2015
> New Revision: 385076
> URL: https://svnweb.freebsd.org/changeset/ports/385076
> 
> Log:
>  math/hfst: unbreak build on 8.x/9.x (flex 2.5.4)
> 
>  /bin/sh ../../../build-aux/ylwrap xre_lex.ll lex.yy.c xre_lex.cc -- flex --outfile=lex.yy.c
>  flex: unknown flag '-'.  For usage, try
>  	flex --help
>  *** [xre_lex.cc] Error code 1
> 
>  Reported by:	pkg-fallout
>  Approved by:	portmgr blanket
>  MFH:		2015Q2
> 
> Modified:
>  head/math/hfst/Makefile
> 
> Modified: head/math/hfst/Makefile
> ==============================================================================
> --- head/math/hfst/Makefile	Thu Apr 30 23:29:35 2015	(r385075)
> +++ head/math/hfst/Makefile	Thu Apr 30 23:53:03 2015	(r385076)
> @@ -19,4 +19,12 @@ CONFIGURE_ARGS=	--with-readline --with-u
> SHEBANG_FILES=	tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py
> USE_LDCONFIG=	yes
> 
> +.include <bsd.port.options.mk>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is it needed?


> +
> +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
> +BUILD_DEPENDS+=	flex>2.5.33:${PORTSDIR}/textproc/flex
> +CONFIGURE_ENV+=	LEX="${FLEX}"
> +FLEX=		${LOCALBASE}/bin/flex
> +.endif
> +
> .include <bsd.port.mk>
> 



More information about the svn-ports-head mailing list