diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-19 22:16:22 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-19 22:16:22 +0000 |
commit | b6758a6e23b819ceccecbd962cc2ffa846afba16 (patch) | |
tree | 9ca80491043b8bd16f67d0cd6903c8aad7f3f7ea /rules/grep.make | |
parent | 25de134d52eb996c57e8ebe592cde0683bce9088 (diff) | |
download | ptxdist-b6758a6e23b819ceccecbd962cc2ffa846afba16.tar.gz ptxdist-b6758a6e23b819ceccecbd962cc2ffa846afba16.tar.xz |
* grep: add switch for libpcre, in order to get a well defined
build.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9592 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/grep.make')
-rw-r--r-- | rules/grep.make | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/rules/grep.make b/rules/grep.make index b5100fda2..38b1736ec 100644 --- a/rules/grep.make +++ b/rules/grep.make @@ -19,10 +19,10 @@ PACKAGES-$(PTXCONF_GREP) += grep # GREP_VERSION := 2.5.3 GREP := grep-$(GREP_VERSION) -GREP_SUFFIX := tar.bz2 -GREP_URL := $(PTXCONF_SETUP_GNUMIRROR)/grep/$(GREP).$(GREP_SUFFIX) -GREP_SOURCE := $(SRCDIR)/$(GREP).$(GREP_SUFFIX) -GREP_DIR := $(BUILDDIR)/$(GREP) +GREP_SUFFIX := tar.bz2 +GREP_URL := $(PTXCONF_SETUP_GNUMIRROR)/grep/$(GREP).$(GREP_SUFFIX) +GREP_SOURCE := $(SRCDIR)/$(GREP).$(GREP_SUFFIX) +GREP_DIR := $(BUILDDIR)/$(GREP) # ---------------------------------------------------------------------------- # Get @@ -55,6 +55,12 @@ GREP_ENV := $(CROSS_ENV) # GREP_AUTOCONF := $(CROSS_AUTOCONF_USR) +ifdef PTXCONF_GREP_PCRE +GREP_AUTOCONF += --enable-perl-regexp +else +GREP_AUTOCONF += --disable-perl-regexp +endif + $(STATEDIR)/grep.prepare: @$(call targetinfo) @$(call clean, $(GREP_DIR)/config.cache) |