Add devel/ccache-static and devel/ccache-memcached-static ports.

These are to allow packages to be created for use where a static
ccache is needed to avoid build dependencies.  Poudriere is
growing support for this use case.  While a ccache-static is
not likely as useful, the ccache-memcached-static port will
allow Poudriere to use ccache+memcached in its jails without
needing to bootstrap ccache-memcached and dealing with the
cyclic dependency problem of building that or compromising
with not building it with a compiler cache.
This commit is contained in:
Bryan Drewery 2017-03-10 00:48:35 +00:00
parent 441b13dd11
commit 1c81ee3da4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435812
5 changed files with 26 additions and 2 deletions

View file

@ -236,7 +236,9 @@
SUBDIR += cbrowser
SUBDIR += cc65
SUBDIR += ccache
SUBDIR += ccache-static
SUBDIR += ccache-memcached
SUBDIR += ccache-memcached-static
SUBDIR += cccc
SUBDIR += ccdoc
SUBDIR += ccons

View file

@ -0,0 +1,11 @@
# $FreeBSD$
PKGNAMESUFFIX= -memcached-static
MASTERDIR= ${.CURDIR}/../ccache
OPTIONS_SLAVE= MEMCACHED STATIC
CONFLICTS_INSTALL= ccache-[0-9]* ccache-memcached[0-9]* ccache-static[0-9]*
.include "${MASTERDIR}/Makefile"

View file

@ -6,6 +6,6 @@ MASTERDIR= ${.CURDIR}/../ccache
OPTIONS_SLAVE= MEMCACHED
CONFLICTS_INSTALL= ccache-[0-9]*
CONFLICTS_INSTALL= ccache-[0-9]* ccache-memcached-static[0-9]* ccache-static-[0-9]*
.include "${MASTERDIR}/Makefile"

View file

@ -0,0 +1,11 @@
# $FreeBSD$
PKGNAMESUFFIX= -static
MASTERDIR= ${.CURDIR}/../ccache
OPTIONS_SLAVE= STATIC
CONFLICTS_INSTALL= ccache-[0-9]* ccache-memcached[0-9]* ccache-memcached-static[0-9]*
.include "${MASTERDIR}/Makefile"

View file

@ -13,7 +13,7 @@ COMMENT= Tool to minimize the compile time of C/C++ programs
LICENSE= GPLv3
CONFLICTS_INSTALL= ccache-memcached-[0-9]*
CONFLICTS_INSTALL= ccache-static-[0-9]* ccache-memcached-[0-9]* ccache-memcached-static-[0-9]*
GNU_CONFIGURE= yes