Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2020 04:43:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249024] cmake.mk: Add USES=cmake:testing to facilitate defining test targets for cmake-based ports
Message-ID:  <bug-249024-7788-R7jcPSAf9m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249024-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249024-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249024

--- Comment #3 from Yuri Victorovich <yuri@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=3Dcmake:te=
sting
is just a shortcut preventing copying-and-pasting the same lines into Makef=
iles
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=3Dyes to waive this ban, IMO.


Yuri

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249024-7788-R7jcPSAf9m>