Acually bash should present at _configure_ time, so the port build/install

a bash completion file. Restore BUILD_DEPENDS upon bash for non-default
BASH option.

Reported by:	Łukasz Wąsikowski <lukasz@wasikowski.net> (via e-mail)
This commit is contained in:
Boris Samorodov 2014-03-30 20:05:52 +00:00
parent 959b508abd
commit cbb2144658
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349677

View File

@ -45,6 +45,7 @@ post-install:
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBASH}
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
PLIST_FILES+= etc/bash_completion.d/gammu
PLIST_DIRSTRY+= etc/bash_completion.d