From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 30 23:10:13 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24D21106564A for ; Sun, 30 Oct 2011 23:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 148958FC0A for ; Sun, 30 Oct 2011 23:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9UNACxI050851 for ; Sun, 30 Oct 2011 23:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9UNACnC050850; Sun, 30 Oct 2011 23:10:12 GMT (envelope-from gnats) Date: Sun, 30 Oct 2011 23:10:12 GMT Message-Id: <201110302310.p9UNACnC050850@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Dominic Fandrey Cc: Subject: Re: ports/162178: Add bsd.clang.mk with Clang/LLVM support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Fandrey List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2011 23:10:13 -0000 The following reply was made to PR ports/162178; it has been noted by GNATS. From: Dominic Fandrey To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: Re: ports/162178: Add bsd.clang.mk with Clang/LLVM support Date: Mon, 31 Oct 2011 00:01:10 +0100 This is a multi-part message in MIME format. --------------000906020208000606090507 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit Add bsd.port.mk inclusion patch, because it didn't trigger the GNATS magic in the OP. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? --------------000906020208000606090507 Content-Type: text/plain; name="patch-ports-Mk-bsd.clang.mk.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-ports-Mk-bsd.clang.mk.txt" --- ports/Mk.orig/bsd.port.mk 2011-10-30 15:18:11.000000000 +0100 +++ ports/Mk/bsd.port.mk 2011-10-30 16:54:58.000000000 +0100 @@ -1686,6 +1686,11 @@ .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif +.if defined(USE_CLANG) || defined(CLANG_PREFERRED) \ + || defined(PREFER_CLANG) || defined(FORCE_CLANG) +.include "${PORTSDIR}/Mk/bsd.clang.mk" +.endif + .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ --------------000906020208000606090507--