Skip ENOMEM check for printf when building with qemu, this makes

configure hang

PR:		224740
Reported by:	pkg-fallout
MFH:		2018Q1
This commit is contained in:
Antoine Brodin 2018-03-17 09:14:09 +00:00
parent 37f87e1684
commit 1301d18baf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464772
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@ LICENSE= GPLv3
USES= charsetfix libtool makeinfo
GNU_CONFIGURE= yes
.ifdef QEMU_EMULATING
# XXX bug 224740: configure hangs
CONFIGURE_ENV= gl_cv_func_printf_enomem=no
.endif
USE_LDCONFIG= yes
INFO= rec-mode recutils

View File

@ -17,6 +17,10 @@ NLS_USES= gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1
.ifdef QEMU_EMULATING
# XXX bug 224740: configure hangs
CONFIGURE_ENV+= gl_cv_func_printf_enomem=no
.endif
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib