From 2b874427fcdec257dc78e2c474f50336d730e3d2 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Thu, 28 Sep 2017 11:13:48 +0200
Subject: [PATCH] support MacOS

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cff640c1..adb92692 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ Makefile.coq: _CoqProject Makefile awk.Makefile
 build-dep/opam: opam
 	# Create the build-dep package.
 	@mkdir -p build-dep
-	@sed <opam 's/^\(build\|install\|remove\):.*/\1: []/; s/^name: *"\(.*\)" */name: "\1-builddep"/' > build-dep/opam
+	@sed <opam -E 's/^(build|install|remove):.*/\1: []/; s/^name: *"(.*)" */name: "\1-builddep"/' >build-dep/opam
 	@fgrep builddep build-dep/opam >/dev/null || (echo "sed failed to fix the package name" && exit 1) # sanity check
 
 build-dep: build-dep/opam phony
-- 
GitLab