View Single Post
  #7   (View Single Post)  
Old 20th June 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,050
Default

True, I just tested them and they fail with ccache, but there is bery simple sollution for them. for every port that fails you may add something like that to /etc/make.conf as ohauer suggested:

Code:
.if !defined(NO_CACHE)
  CC=  /usr/local/libexec/ccache/world-cc
  CCX= /usr/local/libexec/ccache/world-cc++
.endif

.if ${.CURDIR:M*/ports/games/freera}
  NO_CCACHE= yes
.endif
And you are done with that one.

You may even do something like that if you feel more comfortable:

Code:
CCACHE_DISABLED+= games/freera \
                  graphics/gsculpt \
                  devel/ccache

.for PORT in ${CCACHE_DISABLED}
.if ${.CURDIR:M*/ports/$(PORT)}
  NO_CCACHE= yes
.endif
.endfor
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote