From f76357512f9b2982615944dd217b3b30fa6b3e8a Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 10 Jan 2023 20:00:13 +0000 Subject: [PATCH] sysutils/coreutils: allow building as root Reported by Thomas Dettbarn; ok bcallah@ --- sysutils/coreutils/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile index d4f51bba176..ae59d348e5c 100644 --- a/sysutils/coreutils/Makefile +++ b/sysutils/coreutils/Makefile @@ -22,6 +22,8 @@ LIB_DEPENDS = devel/gettext,-runtime CONFIGURE_STYLE = gnu CONFIGURE_ARGS = --program-prefix=g \ --without-libgmp +# supply result to skip a test that will abort configure if run as root +CONFIGURE_ENV += gl_cv_func_mknod_works=no # Fixes a spurrious test failure PORTHOME = ${WRKDIR}