nano: work around broken syntax highlighting regexes
authorPascal de Bruijn <pmjdebruijn@pcode.nl>
Thu, 28 May 2015 18:41:46 +0000 (20:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Jul 2015 07:22:51 +0000 (09:22 +0200)
[Thomas: use --with-wordbounds instead of fiddling with CFLAGS.]

Signed-off-by: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nano/nano.mk

index b03081843b2030b0eaf14891cd42ac3b9edf2850..9b844905d22626ea1d211e8cb1bebb559add5d70 100644 (file)
@@ -8,7 +8,9 @@ NANO_VERSION = 2.4.2
 NANO_SITE = $(BR2_GNU_MIRROR)/nano
 NANO_LICENSE = GPLv3+
 NANO_LICENSE_FILES = COPYING
-NANO_CONF_OPTS = --without-slang
+NANO_CONF_OPTS = \
+       --without-slang \
+       --with-wordbounds
 NANO_DEPENDENCIES = ncurses
 
 ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)