At present, the policy implemented in Mk/Scripts/qa.sh prevents me

from adding lang/python, lang/python2, or lang/python3 as a dependency of
another port. "This is to prevent adding dependencies to meta ports that
are only there to improve the end user experience." - I build my own packages
via poudriere. I want to create my own meta-package which has such packages
as RUN_DEPENDS. It's been suggested that I patch my own copy of the tree.
This patch moves towards tools, not policy.

This patch allows me to set this variable in a poudriere make.conf file:

QA_ENV+= IGNORE_DEPENDS_BLACKLIST="YES"

Reviewed by:	mat
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D25450
This commit is contained in:
Dan Langille
2020-07-20 19:22:16 +00:00
parent 2ff8e8c69b
commit c1f39c706a

View File

@@ -1020,7 +1020,12 @@ checks="$checks license depends_blacklist pkgmessage reinplace"
ret=0
cd ${STAGEDIR} || exit 1
for check in ${checks}; do
${check} || ret=1
eval check_test="\$IGNORE_QA_$check"
if [ -z "${check_test}" ]; then
${check} || ret=1
else
warn "Ignoring $check QA test"
fi
done
exit ${ret}