Date: Sun, 30 Oct 2011 23:10:12 GMT From: Dominic Fandrey <kamikaze@bsdforen.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/162178: Add bsd.clang.mk with Clang/LLVM support Message-ID: <201110302310.p9UNACnC050850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/162178; it has been noted by GNATS. From: Dominic Fandrey <kamikaze@bsdforen.de> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110302310.p9UNACnC050850>