diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2010-11-17 08:10:24 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2010-11-17 08:10:24 +0800 |
commit | de53f4da9a72c25fd3c0a5d0a7b2c174f9602c3f (patch) | |
tree | 700eb5b63ffc567b756989aba109822db174fe74 /devel/ccache | |
parent | 694d046758848f6206b080d8b99a19eeca190701 (diff) | |
download | freebsd-ports-gnome-de53f4da9a72c25fd3c0a5d0a7b2c174f9602c3f.tar.gz freebsd-ports-gnome-de53f4da9a72c25fd3c0a5d0a7b2c174f9602c3f.tar.zst freebsd-ports-gnome-de53f4da9a72c25fd3c0a5d0a7b2c174f9602c3f.zip |
Update instructions on how to workaround a buildworld failure.
[1] http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/6886684
PR: 151287 (related)
Submitted by: Dimitry Andric, avilla
Discussed on: hackers [1]
Diffstat (limited to 'devel/ccache')
-rw-r--r-- | devel/ccache/Makefile | 1 | ||||
-rw-r--r-- | devel/ccache/files/ccache-howto-freebsd.txt.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index b7295a217c24..e71b6a14bef7 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -7,6 +7,7 @@ PORTNAME= ccache PORTVERSION= 3.1.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://samba.org/ftp/ccache/ CRITICAL diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in index eef830d2e7fd..74c44f6e6238 100644 --- a/devel/ccache/files/ccache-howto-freebsd.txt.in +++ b/devel/ccache/files/ccache-howto-freebsd.txt.in @@ -5,9 +5,13 @@ To use ccache add the following to /etc/make.conf .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) +.if !defined(CC) || ${CC} == "cc" CC=%%PREFIX%%/%%CCLINKDIR%%/world-cc +.endif +.if !defined(CXX) || ${CXX} == "c++" CXX=%%PREFIX%%/%%CCLINKDIR%%/world-c++ .endif +.endif For Korn/Bourne shells Add the following to /etc/profile: export PATH=%%PREFIX%%/%%CCLINKDIR%%:$PATH |