svn commit: r542671 - head/Mk/Scripts
Dan Langille
dvl at FreeBSD.org
Mon Jul 20 19:22:17 UTC 2020
Author: dvl
Date: Mon Jul 20 19:22:16 2020
New Revision: 542671
URL: https://svnweb.freebsd.org/changeset/ports/542671
Log:
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
Modified:
head/Mk/Scripts/qa.sh
Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh Mon Jul 20 19:15:41 2020 (r542670)
+++ head/Mk/Scripts/qa.sh Mon Jul 20 19:22:16 2020 (r542671)
@@ -1020,7 +1020,12 @@ checks="$checks license depends_blacklist pkgmessage r
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}
More information about the svn-ports-head
mailing list