From ebdb7be724d4de816552ceea3dd5a151fdaeebe1 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 26 Aug 2019 11:29:12 -0400 Subject: [PATCH] ocaml-findlib: revision for ocaml --- Formula/ocaml-findlib.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/ocaml-findlib.rb b/Formula/ocaml-findlib.rb index 0f3c51d219..f3b172bc98 100644 --- a/Formula/ocaml-findlib.rb +++ b/Formula/ocaml-findlib.rb @@ -3,6 +3,7 @@ class OcamlFindlib < Formula homepage "http://projects.camlcity.org/projects/findlib.html" url "http://download.camlcity.org/download/findlib-1.8.1.tar.gz" sha256 "8e85cfa57e8745715432df3116697c8f41cb24b5ec16d1d5acd25e0196d34303" + revision 1 bottle do sha256 "b59570c74713f43320a8990e0dcc0943952b21d5aa838efc9adcfe13c3ec505c" => :mojave @@ -22,6 +23,9 @@ class OcamlFindlib < Formula system "make", "opt" inreplace "findlib.conf", prefix, HOMEBREW_PREFIX system "make", "install" + + # Avoid conflict with ocaml-num package + rm_rf Dir[lib/"ocaml/num", lib/"ocaml/num-top"] end test do