Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 19:12:17 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469389 - in head/devel/ccache: . files
Message-ID:  <201805081912.w48JCH5I096304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue May  8 19:12:16 2018
New Revision: 469389
URL: https://svnweb.freebsd.org/changeset/ports/469389

Log:
  Update howto
   - 11.0+ base can just use WITH_CCACHE_BUILD=yes [1]
   - Remove older advise for libtool which is no longer needed
   - No need for clang unused argument hack anymore
  
  PR:		222765 [1]
  Submitted by:	pete@nomadlogic.org [1] (based on)

Modified:
  head/devel/ccache/Makefile
  head/devel/ccache/files/ccache-howto-freebsd.txt.in

Modified: head/devel/ccache/Makefile
==============================================================================
--- head/devel/ccache/Makefile	Tue May  8 19:11:05 2018	(r469388)
+++ head/devel/ccache/Makefile	Tue May  8 19:12:16 2018	(r469389)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ccache
 PORTVERSION=	3.3.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	https://www.samba.org/ftp/ccache/ \
 		LOCAL/bdrewery

Modified: head/devel/ccache/files/ccache-howto-freebsd.txt.in
==============================================================================
--- head/devel/ccache/files/ccache-howto-freebsd.txt.in	Tue May  8 19:11:05 2018	(r469388)
+++ head/devel/ccache/files/ccache-howto-freebsd.txt.in	Tue May  8 19:12:16 2018	(r469389)
@@ -6,7 +6,12 @@ To use ccache for ports, just add WITH_CCACHE_BUILD=ye
 /etc/make.conf. The rest of this guide is for building
 /usr/src and other checkouts.
 
-To use ccache for base add the following to /etc/make.conf.
+To use ccache for base (11.0+) just add WITH_CCACHE_BUILD=yes
+to /etc/src.conf.  Refer to src.conf(5) for more information.
+
+-------------------------------------------------------------------------------
+
+For older releases, before 11.0, add the following to /etc/make.conf.
 You can replace cc and c++ with the compilers of your choice.
 (remember that only GCC and Clang can build world and kernel)
 
@@ -28,7 +33,7 @@ For csh/tcsh Add the following to /etc/csh.cshrc:
 For icc users:
  Add %%ICCPREFIX%% to CCACHE_PATH
 
---
+-------------------------------------------------------------------------------
 
 To use distcc:
 
@@ -52,15 +57,6 @@ reset PATH=$CCACHE_PATH and try again.
 
 Make sure you run 'ccache-update-links' after you install/uninstall
 additional compilers in order to create/remove compiler links.
-
-Clang will return a lot of 'unused argument' warnings: they are harmless.
-Just add this to /etc/make.conf if you want to hide them:
-.if ${CC:T} == "clang"
-CFLAGS+=	-Qunused-arguments
-.endif
-
-Any time you change CC/CXX you need to reinstall devel/libtool or you
-will run in to problems.
 
 --
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805081912.w48JCH5I096304>