svn commit: r348265 - head/lang/mono
John Marino
marino at FreeBSD.org
Fri Mar 14 16:09:07 UTC 2014
Author: marino
Date: Fri Mar 14 16:09:07 2014
New Revision: 348265
URL: http://svnweb.freebsd.org/changeset/ports/348265
QAT: https://qat.redports.org/buildarchive/r348265/
Log:
lang/mono: Unbreak configure/runaway
Mono was set to build via clang unconditionally. Other than have
a large, unnecessary dependency on clang33, this didn't bother
DragonFly until recently. The 3.2.8 version has a conftest to test
for a working __thread implementation (which DragonFly has), but for
some reason the test locks up when built by clang. I built the conftest
manually with gcc and it returned fine.
In any case, DragonFly's gcc47 base compiler builds mono fine, so to
unbreak the port on DragonFly, only specify clang on FreeBSD.
Modified:
head/lang/mono/Makefile
Modified: head/lang/mono/Makefile
==============================================================================
--- head/lang/mono/Makefile Fri Mar 14 15:52:02 2014 (r348264)
+++ head/lang/mono/Makefile Fri Mar 14 16:09:07 2014 (r348265)
@@ -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}
More information about the svn-ports-all
mailing list