aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-14 16:09:07 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-14 16:09:07 +0000
commitb804dd299c49816dc7f0718e86547cde8c0f1920 (patch)
treeaf495ced2efa453380fec2ceb1a869b97843b720 /lang
parent9c81958368545b3c302986b05d8cb74fa6a90051 (diff)
downloadports-b804dd299c49816dc7f0718e86547cde8c0f1920.tar.gz
ports-b804dd299c49816dc7f0718e86547cde8c0f1920.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/mono/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 3b3daa7d8b73..3489599439ca 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -42,6 +42,7 @@ ONLY_FOR_ARCHS= i386 amd64 powerpc
# Base GCC used to cause problems, so compile using clang which is usualy in
# base. However, the clang version shipped with some older FreeBSD version will
# not compile Mono, in such a case, compile using a clang port.
+.if ${OPSYS} == FreeBSD
.if ${OSVERSION} >= 902001 && exists(/usr/bin/clang)
CC= /usr/bin/clang
CXX= /usr/bin/clang++
@@ -52,6 +53,7 @@ CC= clang33
CXX= clang33
CPP= clang-cpp33
.endif
+.endif
pre-everything::
@${CAT} ${PKGMESSAGE}