Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 17:47:36 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419397 - head/benchmarks/fio
Message-ID:  <201607311747.u6VHlaUC071209@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jul 31 17:47:36 2016
New Revision: 419397
URL: https://svnweb.freebsd.org/changeset/ports/419397

Log:
  Prefer devel/byacc in ports over devel/bison for FreeBSD 9
  
  byacc has less dependencies and is the same yacc as what FreeBSD 10+ has

Modified:
  head/benchmarks/fio/Makefile

Modified: head/benchmarks/fio/Makefile
==============================================================================
--- head/benchmarks/fio/Makefile	Sun Jul 31 17:44:10 2016	(r419396)
+++ head/benchmarks/fio/Makefile	Sun Jul 31 17:47:36 2016	(r419397)
@@ -21,11 +21,9 @@ GNUPLOT_BUILD_DEPENDS=	${LOCALBASE}/bin/
 .include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000013
-USES+=		bison
-MAKE_ARGS+=	YACC=${LOCALBASE}/bin/bison
-.endif
+BUILD_DEPENDS+=	byacc>0:devel/byacc
+MAKE_ARGS+=	YACC=${LOCALBASE}/bin/yacc
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
 BUILD_DEPENDS+=	flex>0:textproc/flex
 MAKE_ARGS+=	LEX=${LOCALBASE}/bin/flex
 .endif



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