package/nano: bump to version 4.2
authorBaruch Siach <baruch@tkos.co.il>
Tue, 28 May 2019 15:24:11 +0000 (18:24 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 30 May 2019 10:37:04 +0000 (12:37 +0200)
Use the usual enable/disable options for the libmagic optional
dependency.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nano/nano.hash
package/nano/nano.mk

index eae648d16ef8df269e1df344690afa508c1a17f4..b7fd6a6cfd9b9e69220b01875bc85a2b95e3c413 100644 (file)
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://www.nano-editor.org/dist/v3/nano-3.2.tar.xz.asc
+# https://www.nano-editor.org/dist/v4/nano-4.2.tar.xz.asc
 # using key BFD009061E535052AD0DF2150D28D4D2A0ACE884
-sha256 d12773af3589994b2e4982c5792b07c6240da5b86c5aef2103ab13b401fe6349  nano-3.2.tar.xz
+sha256 1143defce62e391b241252ffdb6e5c1ded56cfe26d46ee81b796abe0ccc45df9  nano-4.2.tar.xz
 sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7  COPYING
index 206d210a169d035bfc8edbc8cee633e32e90a1fa..8a315154d270f6d773c3535d5cc9c54789f34375 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NANO_VERSION_MAJOR = 3
+NANO_VERSION_MAJOR = 4
 NANO_VERSION = $(NANO_VERSION_MAJOR).2
 NANO_SITE = https://www.nano-editor.org/dist/v$(NANO_VERSION_MAJOR)
 NANO_SOURCE = nano-$(NANO_VERSION).tar.xz
@@ -24,8 +24,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_FILE),y)
 NANO_DEPENDENCIES += file
+NANO_CONF_OPTS += --enable-libmagic
 else
-NANO_CONF_ENV += ac_cv_lib_magic_magic_open=no
+NANO_CONF_OPTS += --disable-libmagic
 endif
 
 ifeq ($(BR2_PACKAGE_NANO_TINY),y)