Skip to content

Instantly share code, notes, and snippets.

@andrewray
Created June 5, 2014 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewray/f53c4545c004c89d06d1 to your computer and use it in GitHub Desktop.
Save andrewray/f53c4545c004c89d06d1 to your computer and use it in GitHub Desktop.
opam patch for mikmatch - mikmatch_str depends on str not pcre
diff --git a/str/META.template b/str/META.template
index b692995..961e89b 100644
--- a/str/META.template
+++ b/str/META.template
@@ -2,7 +2,7 @@ name = "mikmatch_str"
version = "VERSION"
description = "Pattern matching extended with regexps in Ocamllex syntax"
-requires = "camlp4 pcre unix"
+requires = "camlp4 str unix"
requires(toploop) += "tophide"
archive(syntax,toploop) = "pa_mikmatch_str.cma run_mikmatch_str.cma"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment