1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix example so it works better with make buildworld if you define NOCCACHE

with out installing ccache links in PREFIX/libexec/ccache/
- Add gcc42
This commit is contained in:
Michael Johnson 2006-01-11 23:21:55 +00:00
parent ace5a34e6a
commit 779f9e9bad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153318
2 changed files with 3 additions and 4 deletions

View File

@ -7,14 +7,13 @@
PORTNAME= ccache
PORTVERSION= 2.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://ccache.samba.org/ftp/ccache/
MAINTAINER= ahze@FreeBSD.org
COMMENT= A tool to minimize the compile time of C/C++ programs
BROKEN= "Examples provided break buildworld"
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@ -35,7 +34,7 @@ PLIST_DIRS= ${CCLINKDIR}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_COMPILER_LINKS)
GNU_COMPILERS= 295 32 33 34 35 40 41
GNU_COMPILERS= 295 32 33 34 35 40 41 42
CCACHE_COMPILERS= cc c++ gcc g++ ${GNU_COMPILERS:S|^|gcc|} ${GNU_COMPILERS:S|^|g++|}
.if ${ARCH}=="i386"
CCACHE_COMPILERS+= icc icpc

View File

@ -5,7 +5,7 @@
To use ccache add the following to /etc/make.conf
.if !defined(NOCCACHE)
.if ${.CURDIR:M/usr/src*}
.if ${.CURDIR:M/usr/src*} && exists(%%LOCALBASE%%/libexec/ccache/cc)
CC=%%LOCALBASE%%/libexec/ccache/cc
CXX=%%LOCALBASE%%/libexec/ccache/c++
.else