Сборка app-office/libreoffice-25.2.4.3-r1

Building LibreOffice as root is a very bad idea, use a regular user.

Не собирается из -под рута. До этой версии спасал патч no-check-if-root, но на этой версии он сломался.
Есть у кого-то новый? Или кто-то знает как подшаманить старый?

Так не работает. Немного помучил мозги и получил следующий рабочий вариант:

--- a/Makefile.in
+++ b/Makefile.in
@@ -69,14 +69,6 @@
 # Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not
 # in a container:
 check-if-root:
-	@if test ! `uname` = 'Haiku' -a `id -u` = 0 && test -z $$container; then \
-		if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \
-			echo; \
-			echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
-			echo; \
-			exit 1; \
-		fi \
-	fi
 
 gb_Side ?= host