Remove old USE_BISON related code from bsd.port.mk

This commit is contained in:
Baptiste Daroussin 2013-03-08 11:34:33 +00:00
parent 9250d94365
commit 7372ce16d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313636

View file

@ -351,10 +351,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# this is for users, not for port maintainers. This
# should not be used in Makefile.
##
# USE_BISON - Implies that the port uses bison in one way or another:
# 'build', 'run', 'both', implying build,
# runtime, and both build/run dependencies
##
# USE_IMAKE - If set, this port uses imake.
# XMKMF - Set to path of `xmkmf' if not in $PATH
# Default: xmkmf -a
@ -2011,22 +2007,6 @@ RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS}
. endfor
.endif
.if defined(USE_BISON)
_BISON_DEPENDS= bison:${PORTSDIR}/devel/bison
. if ${USE_BISON:L} == "build"
BUILD_DEPENDS+= ${_BISON_DEPENDS}
. elif ${USE_BISON:L} == "run"
RUN_DEPENDS+= ${_BISON_DEPENDS}
. elif ${USE_BISON:L} == "both"
BUILD_DEPENDS+= ${_BISON_DEPENDS}
RUN_DEPENDS+= ${_BISON_DEPENDS}
. else
IGNORE= uses unknown USE_BISON construct
. endif
.endif
.if defined(WITH_PKGNG)
.include "${PORTSDIR}/Mk/bsd.pkgng.mk"
.endif