summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk
index 5fa34b6df8d5..3302687e2c93 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.mk
@@ -2042,21 +2042,21 @@ RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS}
.endif
.if defined(USE_BISON)
-_BISON_DEPENDS= bison:${PORTSDIR}/devel/bison
+_BISON_DEPENDS= bison:${PORTSDIR}/devel/bison
# XXX: backwards compatibility
. if ${USE_BISON:L} == "yes"
-BUILD_DEPENDS+= ${_BISON_DEPENDS}
+USE_BISON= build
pre-everything::
@${ECHO_MSG} "WARNING: USE_BISON=yes deprecated, use build/run/both"
. endif
. if ${USE_BISON:L} == "build"
-BUILD_DEPENDS+= ${_BISON_DEPENDS}
+BUILD_DEPENDS+= ${_BISON_DEPENDS}
. elif ${USE_BISON:L} == "run"
RUN_DEPENDS+= ${_BISON_DEPENDS}
. elif ${USE_BISON:L} == "both"
-BUILD_DEPENDS+= ${_BISON_DEPENDS}
+BUILD_DEPENDS+= ${_BISON_DEPENDS}
RUN_DEPENDS+= ${_BISON_DEPENDS}
. else
IGNORE= uses unknown USE_BISON construct