4ce38c3ac0
Commit de903755d7
(grep: fix build failure for musl) added
--with-included-regex to configure options in musl builds. The commit log
mentions build failure because grep configure doesn't detect the missing libc
regex support. Unfortunately, the commit log adds no details on said build
failure, or any autobuilder reference. The autobuilder didn't record
any grep build failure for version 2.20 that was current at the time.
Build with musl succeeds nowadays, so remove the workaround.
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
811 B
Makefile
34 lines
811 B
Makefile
################################################################################
|
|
#
|
|
# grep
|
|
#
|
|
################################################################################
|
|
|
|
GREP_VERSION = 3.1
|
|
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
|
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
|
GREP_LICENSE = GPL-3.0+
|
|
GREP_LICENSE_FILES = COPYING
|
|
GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
# link with iconv if enabled
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
GREP_CONF_ENV += LIBS=-liconv
|
|
GREP_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
# link with pcre if enabled
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
GREP_CONF_OPTS += --enable-perl-regexp
|
|
GREP_DEPENDENCIES += pcre
|
|
else
|
|
GREP_CONF_OPTS += --disable-perl-regexp
|
|
endif
|
|
|
|
# Full grep preferred over busybox grep
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
GREP_DEPENDENCIES += busybox
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|