|
@@ -4,14 +4,12 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-GREP_VERSION = 3.7
|
|
|
|
|
|
+GREP_VERSION = 3.8
|
|
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
|
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
|
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
|
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
|
GREP_LICENSE = GPL-3.0+
|
|
GREP_LICENSE = GPL-3.0+
|
|
GREP_LICENSE_FILES = COPYING
|
|
GREP_LICENSE_FILES = COPYING
|
|
GREP_CPE_ID_VENDOR = gnu
|
|
GREP_CPE_ID_VENDOR = gnu
|
|
-# We're patching m4/stack-direction.m4
|
|
|
|
-GREP_AUTORECONF = YES
|
|
|
|
GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
# install into /bin like busybox grep
|
|
# install into /bin like busybox grep
|
|
GREP_CONF_OPTS = --exec-prefix=/
|
|
GREP_CONF_OPTS = --exec-prefix=/
|
|
@@ -40,9 +38,9 @@ GREP_DEPENDENCIES += libiconv
|
|
endif
|
|
endif
|
|
|
|
|
|
# link with pcre if enabled
|
|
# link with pcre if enabled
|
|
-ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_PCRE2),y)
|
|
GREP_CONF_OPTS += --enable-perl-regexp
|
|
GREP_CONF_OPTS += --enable-perl-regexp
|
|
-GREP_DEPENDENCIES += pcre
|
|
|
|
|
|
+GREP_DEPENDENCIES += pcre2
|
|
else
|
|
else
|
|
GREP_CONF_OPTS += --disable-perl-regexp
|
|
GREP_CONF_OPTS += --disable-perl-regexp
|
|
endif
|
|
endif
|