svn commit: r513605 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Wed Oct 2 19:24:19 UTC 2019


Author: bapt
Date: Wed Oct  2 19:24:18 2019
New Revision: 513605
URL: https://svnweb.freebsd.org/changeset/ports/513605

Log:
  Add a new argument for USES=bison:alias
  
  this new alias arguments allows to create an alias bison on base byacc, which
  is often compatible with bison.

Modified:
  head/Mk/Uses/bison.mk

Modified: head/Mk/Uses/bison.mk
==============================================================================
--- head/Mk/Uses/bison.mk	Wed Oct  2 18:59:26 2019	(r513604)
+++ head/Mk/Uses/bison.mk	Wed Oct  2 19:24:18 2019	(r513605)
@@ -24,6 +24,8 @@ RUN_DEPENDS+=	${_BISON_DEPENDS}
 .elif ${bison_ARGS} == "both"
 BUILD_DEPENDS+=	${_BISON_DEPENDS}
 RUN_DEPENDS+=	${_BISON_DEPENDS}
+.elif ${bison_ARGS} == "alias"
+BINARY_ALIAS+=	bison=byacc
 .else
 IGNORE=	USES=bison - invalid args: [${bison_ARGS}] specified
 .endif


More information about the svn-ports-head mailing list