1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- use egrep for portability

PR:		215089
Submitted by:	Raphael Kubo da Costa
This commit is contained in:
Dirk Meyer 2016-12-08 20:30:29 +00:00
parent 3c0389e907
commit b57333bc5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428157

View File

@ -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