On 1/8/2023 4:06 PM, Christian Weisgerber wrote: > > That configure check is from a gnulib macro. It also appears (at > least) in archivers/gtar, where we work around it like this: > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/coreutils/Makefile,v > retrieving revision 1.25 > diff -u -p -r1.25 Makefile > --- Makefile 5 Jun 2022 00:25:07 -0000 1.25 > +++ Makefile 8 Jan 2023 21:05:05 -0000 > @@ -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} >
OK for me. Thanks. ~Brian