From b57333bc5bae32eb03e85a76f607a1b9628f5404 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Thu, 8 Dec 2016 20:30:29 +0000 Subject: [PATCH] - use egrep for portability PR: 215089 Submitted by: Raphael Kubo da Costa --- graphics/graphviz/files/patch-Makefile.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 graphics/graphviz/files/patch-Makefile.in diff --git a/graphics/graphviz/files/patch-Makefile.in b/graphics/graphviz/files/patch-Makefile.in new file mode 100644 index 000000000000..aad90436897e --- /dev/null +++ b/graphics/graphviz/files/patch-Makefile.in @@ -0,0 +1,15 @@ +Backported from https://github.com/ellson/graphviz/pull/1179 + +Use egrep so that the command works with base's BSD grep when it is built +without compatibility with GNU grep. +--- Makefile.in.orig 2016-12-05 10:31:12.865899000 +0100 ++++ Makefile.in 2016-12-05 10:31:32.065451000 +0100 +@@ -1246,7 +1246,7 @@ + find $(distdir) -name CVS -type d -prune -exec rm -rf {} \; + + $(top_builddir)/graphviz_version.h: config.h +- $(GREP) 'PACKAGE\|VERSION\|GVPLUGIN' config.h > $(top_builddir)/graphviz_version.h ++ $(EGREP) 'PACKAGE|VERSION|GVPLUGIN' config.h > $(top_builddir)/graphviz_version.h + + .PHONY: rpm + rpm: dist