From owner-svn-ports-head@FreeBSD.ORG Fri Mar 14 16:09:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDE16184; Fri, 14 Mar 2014 16:09:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AADE1CF1; Fri, 14 Mar 2014 16:09:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EG97wD066733; Fri, 14 Mar 2014 16:09:07 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2EG97sT066732; Fri, 14 Mar 2014 16:09:07 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201403141609.s2EG97sT066732@svn.freebsd.org> From: John Marino Date: Fri, 14 Mar 2014 16:09:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348265 - head/lang/mono X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 16:09:07 -0000 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}