freebsd-ports/lang/clang33/files/patch-tools_clang_tools_scan-build_ccc-analyzer
Mathieu Arnold 320514f1dd It seems some people keep adding $FreeBSD$ to patch files.
Patches must not be changed by the vcs, this includes the
svn:keyword expansion.  Set fbsd:nokeywords to a couple of patches.

With hat:	portmgr
Sponsored by:	Absolight
2015-09-16 13:03:45 +00:00

11 lines
319 B
Text

--- tools/clang/tools/scan-build/ccc-analyzer.orig
+++ tools/clang/tools/scan-build/ccc-analyzer
@@ -30,7 +30,7 @@
my $DefaultCCompiler;
my $DefaultCXXCompiler;
-if (`uname -a` =~ m/Darwin/) {
+if (`uname -a` =~ m/(Darwin|FreeBSD)/) {
$DefaultCCompiler = 'clang';
$DefaultCXXCompiler = 'clang++';
} else {