ports/162178: Add bsd.clang.mk with Clang/LLVM support

Dominic Fandrey kamikaze at bsdforen.de
Sun Oct 30 23:10:13 UTC 2011


The following reply was made to PR ports/162178; it has been noted by GNATS.

From: Dominic Fandrey <kamikaze at bsdforen.de>
To: bug-followup at FreeBSD.org, kamikaze at 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--



More information about the freebsd-ports-bugs mailing list