Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 16:09:07 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348265 - head/lang/mono
Message-ID:  <201403141609.s2EG97sT066732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403141609.s2EG97sT066732>