Lines 934-939
Link Here
|
934 |
# that are explicitly marked MAKE_JOBS_UNSAFE. User settable. |
934 |
# that are explicitly marked MAKE_JOBS_UNSAFE. User settable. |
935 |
# MAKE_JOBS_NUMBER |
935 |
# MAKE_JOBS_NUMBER |
936 |
# - Override the number of make jobs to be used. User settable. |
936 |
# - Override the number of make jobs to be used. User settable. |
|
|
937 |
## cacche |
938 |
# |
939 |
# WITH_CCACHE_BUILD |
940 |
# - Enable CCACHE support (devel/ccache) |
937 |
# |
941 |
# |
938 |
# For install: |
942 |
# For install: |
939 |
# |
943 |
# |
Lines 2217-2222
Link Here
|
2217 |
.endif |
2221 |
.endif |
2218 |
.endif |
2222 |
.endif |
2219 |
|
2223 |
|
|
|
2224 |
# ccache support |
2225 |
# Support NO_CCACHE for common setups, require WITH_CCACHE_BUILD, and don't use if ccache already set in CC |
2226 |
.if !defined(NO_CCACHE) && defined(WITH_CCACHE_BUILD) && !${CC:M*ccache*} |
2227 |
# Avoid depends loops between pkg and ccache |
2228 |
. if !${.CURDIR:M*/devel/ccache} && !${.CURDIR:M*/ports-mgmt/pkg} |
2229 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/ccache:${PORTSDIR}/devel/ccache |
2230 |
. endif |
2231 |
|
2232 |
# Prepend the ccache dir into the PATH and setup ccache env |
2233 |
MAKE_ENV+= PATH=${LOCALBASE}/libexec/ccache:${PATH} |
2234 |
.endif |
2235 |
|
2220 |
PTHREAD_CFLAGS?= |
2236 |
PTHREAD_CFLAGS?= |
2221 |
PTHREAD_LIBS?= -pthread |
2237 |
PTHREAD_LIBS?= -pthread |
2222 |
|
2238 |
|