head	1.3;
access;
symbols
	RELENG_9_1_0_RELEASE:1.1.2.3.2.2
	RELENG_9_1:1.1.2.3.0.2
	RELENG_9_1_BP:1.1.2.3
	RELENG_9:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.01.53.38;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.05.12.16.12.36;	author gjb;	state Exp;
branches;
next	1.1;

1.1
date	2012.02.29.22.58.51;	author dim;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2012.03.17.22.29.05;	author dim;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2012.03.17.22.29.05;	author dim;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2012.05.18.02.00.01;	author gjb;	state Exp;
branches
	1.1.2.3.2.1;
next	1.1.2.4;

1.1.2.4
date	2012.11.17.11.37.28;	author svnexp;	state Exp;
branches;
next	;

1.1.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.1.2.3.2.2;

1.1.2.3.2.2
date	2012.11.17.08.48.15;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switching exporter and resync
@
text
@.\" $FreeBSD: head/tools/build/options/WITH_CLANG_IS_CC 235342 2012-05-12 16:12:36Z gjb $
Set to install the Clang C/C++ compiler as
.Pa /usr/bin/cc ,
.Pa /usr/bin/c++
and
.Pa /usr/bin/cpp .
@


1.2
log
@SVN rev 235342 on 2012-05-12 16:12:36Z by gjb

Regenerate src.conf(5) for mdoc(7) and typo corrections.

PR:		167804
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days
@
text
@d1 1
a1 1
.\" $FreeBSD$
@


1.1
log
@SVN rev 232322 on 2012-02-29 22:58:51Z by dim

Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
you want to disable gcc completely, you must use WITHOUT_GCC.

MFC after:	2 weeks
@
text
@d3 1
a3 2
.Pa /usr/bin/cc
,
d6 1
a6 2
.Pa /usr/bin/cpp
.
@


1.1.2.1
log
@file WITH_CLANG_IS_CC was added on branch RELENG_9 on 2012-03-17 22:32:17 +0000
@
text
@d1 8
@


1.1.2.2
log
@SVN rev 233099 on 2012-03-17 22:29:05Z by dim

MFC 232322:
  Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
  installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

  Note this does *not* disable building and installing gcc, which will
  still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
  you want to disable gcc completely, you must use WITHOUT_GCC.

MFC 232323:
  Regenerate src.conf(5) after r232322.

MFC 232477:
  In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
  needed, in sys/conf/kern.pre.mk.  Add it now.

MFC 232522:
  Fix a thinko in r232322, where gcc (and its tools) are not built during
  the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set.

  This causes no 'cc' to be installed in the temporary cross-tools tree,
  making lint fall over later in the build, because it ignores ${CC} and
  attempts to run 'cc' anyway.

  To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC
  is set, or if WITH_CLANG_IS_CC is set.

  Pointy hat to:	dim
@
text
@a0 8
.\" $FreeBSD$
Set to install the Clang C/C++ compiler as
.Pa /usr/bin/cc
,
.Pa /usr/bin/c++
and
.Pa /usr/bin/cpp
.
@


1.1.2.3
log
@SVN rev 235587 on 2012-05-18 02:00:01Z by gjb

MFC r235342:

General mdoc(7) and typo fixes.

PR:		167804
@
text
@d3 2
a4 1
.Pa /usr/bin/cc ,
d7 2
a8 1
.Pa /usr/bin/cpp .
@


1.1.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
.\" $FreeBSD: stable/9/tools/build/options/WITH_CLANG_IS_CC 235587 2012-05-18 02:00:01Z gjb $
@


1.1.2.3.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.1.2.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
.\" $FreeBSD: releng/9.1/tools/build/options/WITH_CLANG_IS_CC 235587 2012-05-18 02:00:01Z gjb $
@


