svn commit: r419397 - head/benchmarks/fio

Baptiste Daroussin bapt at FreeBSD.org
Sun Jul 31 17:47:37 UTC 2016


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


More information about the svn-ports-head mailing list