aboutsummaryrefslogtreecommitdiff
path: root/lang/ponyc/files/patch-Makefile
blob: e939a241c7b0b535d3bbb1dc465b6310b55d93f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig	2018-05-27 18:29:53 UTC
+++ Makefile
@@ -221,6 +221,10 @@ ifndef LLVM_CONFIG
     LLVM_CONFIG = llvm-config-3.9
   else ifneq (,$(shell which /usr/local/opt/llvm@3.9/bin/llvm-config 2> /dev/null))
     LLVM_CONFIG = /usr/local/opt/llvm@3.9/bin/llvm-config
+  else ifneq (,$(shell which llvm-config50 2> /dev/null))
+    LLVM_CONFIG = llvm-config50
+  else ifneq (,$(shell which llvm-config40 2> /dev/null))
+    LLVM_CONFIG = llvm-config40
   else ifneq (,$(shell which llvm-config39 2> /dev/null))
     LLVM_CONFIG = llvm-config39
   else ifneq (,$(shell which /usr/local/opt/llvm/bin/llvm-config 2> /dev/null))