diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2018-12-18 11:19:54 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2018-12-18 11:19:54 +0000 |
commit | 86a7abb68e72063d55f9ca3132edb341abc5f4ce (patch) | |
tree | 8d56b8ce85b4d1536c70a810c576744dd46fbefb /editors | |
parent | Update to 0.1.b124 (diff) |
editors/nano: Fix build (configure) on ARM
The arm package builder when building this port, fails with the following
error during configure:
checking whether printf survives out-of-memory conditions...
=>> Killing runaway build after 21600 seconds with no output
The root cause is described in bug 224740, which has not been resolved yet:
low RLIMIT_VMEM hangs qemu due to GSlice allocation failure
In the meantime, this change applies a known workaround which has already
been applied in several ports, which disables the specific (hanging) configure
check, if the build is run with qemu emulation.
PR: 231346, 224740
Reported by: many
Approved by: portmgr (blanket: build fix, jfi)
MFH: 2018Q4
Notes
Notes:
svn path=/head/; revision=487744
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nano/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 1f9661951661..7cde7622275d 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -32,6 +32,11 @@ INFO= nano PORTSCOUT= limitw:1,even +.ifdef QEMU_EMULATING +# XXX bug 224740/231346: configure hangs +CONFIGURE_ENV+= gl_cv_func_printf_enomem=no +.endif + post-patch: ${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure |