[Bug 249024] cmake.mk: Add USES=cmake:testing to facilitate defining test targets for cmake-based ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 31 05:43:20 BST 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249024

--- Comment #3 from Yuri Victorovich <yuri at freebsd.org> ---
(In reply to Tobias C. Berner from comment #2)

Tobias,

If the project is broken in the way you described, this would cause the same
damage when these commands are added into do-test manually. USES=cmake:testing
is just a shortcut preventing copying-and-pasting the same lines into Makefiles
verbatim over and over again. This doesn't cause or increase any risks.

The real solution is to ban building ports as root by the framework, and
require users to define ALLOW_BUILDING_AS_ROOT=yes to waive this ban, IMO.


Yuri

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list