All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/nano: fix tiny build
@ 2021-01-11 19:09 Bernd Kuhls
  2021-01-11 21:37 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-01-11 19:09 UTC (permalink / raw)
  To: buildroot

Since upstream commit
https://git.savannah.gnu.org/cgit/nano.git/commit/configure.ac?id=235f92ce093099cd81f14827ab842bd331132790

--enable-color --enable-nanorc are needed for libmagic support in tiny
builds.

Fixes:
http://autobuild.buildroot.net/results/248/24894e62d6cf89d078959b12e67596c821d64696/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/nano/nano.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/nano/nano.mk b/package/nano/nano.mk
index a86474bfb4..9857ef3460 100644
--- a/package/nano/nano.mk
+++ b/package/nano/nano.mk
@@ -31,6 +31,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_NANO_TINY),y)
 NANO_CONF_OPTS += --enable-tiny
+ifeq ($(BR2_PACKAGE_FILE),y)
+NANO_CONF_OPTS += --enable-color --enable-nanorc
+endif
 define NANO_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
 endef
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/nano: fix tiny build
  2021-01-11 19:09 [Buildroot] [PATCH 1/1] package/nano: fix tiny build Bernd Kuhls
@ 2021-01-11 21:37 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-01-11 21:37 UTC (permalink / raw)
  To: buildroot

On Mon, 11 Jan 2021 20:09:02 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Since upstream commit
> https://git.savannah.gnu.org/cgit/nano.git/commit/configure.ac?id=235f92ce093099cd81f14827ab842bd331132790
> 
> --enable-color --enable-nanorc are needed for libmagic support in tiny
> builds.
> 
> Fixes:
> http://autobuild.buildroot.net/results/248/24894e62d6cf89d078959b12e67596c821d64696/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/nano/nano.mk | 3 +++
>  1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-11 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 19:09 [Buildroot] [PATCH 1/1] package/nano: fix tiny build Bernd Kuhls
2021-01-11 21:37 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.