Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2015 09:43:34 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r385097 - branches/2015Q2/math/hfst
Message-ID:  <201505010943.t419hYOG035374@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri May  1 09:43:33 2015
New Revision: 385097
URL: https://svnweb.freebsd.org/changeset/ports/385097

Log:
  MFH: r385076
  
  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
  Approved by:	ports-secteam (delphij)

Modified:
  branches/2015Q2/math/hfst/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/math/hfst/Makefile
==============================================================================
--- branches/2015Q2/math/hfst/Makefile	Fri May  1 09:40:04 2015	(r385096)
+++ branches/2015Q2/math/hfst/Makefile	Fri May  1 09:43:33 2015	(r385097)
@@ -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>
+
+.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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505010943.t419hYOG035374>