diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-22 14:20:08 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-22 14:20:08 +0000 |
commit | f86a4f1215e45564606c8608e8dbf556a59e35f6 (patch) | |
tree | c4cca123045e40910cc856bfc451e21d0b687beb | |
parent | 54d5395f8fd68403c5199bb611a2ab88790627b4 (diff) | |
download | pkgsrc-f86a4f1215e45564606c8608e8dbf556a59e35f6.tar.gz |
Allow overriding the default cache size cap at compile time.
-rw-r--r-- | devel/ccache/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index 45fdfbfb33f..8a1cfdeaddd 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/03/08 13:49:10 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2008/05/22 14:20:08 tnn Exp $ DISTNAME= ccache-2.4 CATEGORIES= devel @@ -15,4 +15,10 @@ GNU_CONFIGURE= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +.include "../../mk/bsd.prefs.mk" + +CCACHE_DEFAULT_MAXSIZE?= 1048576 +BUILD_DEFS+= CCACHE_DEFAULT_MAXSIZE +CPPFLAGS+= -DDEFAULT_MAXSIZE=${CCACHE_DEFAULT_MAXSIZE} + .include "../../mk/bsd.pkg.mk" |