aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-12-09 04:30:29 +0800
committerdinoex <dinoex@FreeBSD.org>2016-12-09 04:30:29 +0800
commit48e67c18bb90c521ca3f4460f253bb77b4a9de51 (patch)
tree8e68d6d907d6eb6226d775b603a08c8a75a217ca /graphics
parent22cf7e2b3ceadcea9798ac01cb9063c4f1bcdcf4 (diff)
downloadfreebsd-ports-gnome-48e67c18bb90c521ca3f4460f253bb77b4a9de51.tar.gz
freebsd-ports-gnome-48e67c18bb90c521ca3f4460f253bb77b4a9de51.tar.zst
freebsd-ports-gnome-48e67c18bb90c521ca3f4460f253bb77b4a9de51.zip
- use egrep for portability
PR: 215089 Submitted by: Raphael Kubo da Costa
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/files/patch-Makefile.in15
1 files changed, 15 insertions, 0 deletions
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