diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-01-11 23:21:55 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-01-11 23:21:55 +0000 |
commit | 779f9e9badb2079729dbf19897e84cea3fff735d (patch) | |
tree | dd5e52597cb8e735559c5bfc04c9d9b046e65a47 /devel/ccache | |
parent | ace5a34e6a48991b6d4536dbf39739554f9bf17d (diff) |
Notes
Diffstat (limited to 'devel/ccache')
-rw-r--r-- | devel/ccache/Makefile | 5 | ||||
-rw-r--r-- | devel/ccache/files/ccache-howto-freebsd.txt.in | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index deb0e500ac16..82012b7d3145 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -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 diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in index 6f9f75f12475..ed0316e6f2a6 100644 --- a/devel/ccache/files/ccache-howto-freebsd.txt.in +++ b/devel/ccache/files/ccache-howto-freebsd.txt.in @@ -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 |