From owner-svn-ports-branches@FreeBSD.ORG Fri May 1 09:43:34 2015 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DE8D4B2; Fri, 1 May 2015 09:43:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BA46116B; Fri, 1 May 2015 09:43:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t419hYRY035376; Fri, 1 May 2015 09:43:34 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t419hYOG035374; Fri, 1 May 2015 09:43:34 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201505010943.t419hYOG035374@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 1 May 2015 09:43:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r385097 - branches/2015Q2/math/hfst X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 09:43:34 -0000 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 + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= flex>2.5.33:${PORTSDIR}/textproc/flex +CONFIGURE_ENV+= LEX="${FLEX}" +FLEX= ${LOCALBASE}/bin/flex +.endif + .include