From faa5f3a5066fab62b1cfc9364b67d426a556bd2c Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 14 Jan 2018 22:06:20 +0000 Subject: [PATCH] MFH: r459001 Skip ENOMEM check for printf when building with qemu, this makes configure hang PR: 224740 Reported by: pkg-fallout With hat: portmgr --- devel/m4/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/m4/Makefile b/devel/m4/Makefile index 446390ee4857..0bda4596de4c 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -18,6 +18,10 @@ LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv) CONFIGURE_ARGS= --program-prefix=g CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" +.ifdef QEMU_EMULATING +# XXX bug 224740: configure hangs +CONFIGURE_ENV+= gl_cv_func_printf_enomem=no +.endif GNU_CONFIGURE= yes USES= makeinfo tar:xz