39 lines
825 B
Makefile
39 lines
825 B
Makefile
# $OpenBSD: Makefile,v 1.69 2021/02/02 14:44:40 sthen Exp $
|
|
|
|
COMMENT = compiler cache
|
|
|
|
V = 4.2
|
|
DISTNAME = ccache-$V
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://ccache.dev/
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c m zstd
|
|
|
|
MASTER_SITES = https://github.com/ccache/ccache/releases/download/v$V/
|
|
|
|
MODULES = devel/cmake
|
|
CONFIGURE_ARGS = -DCMAKE_INSTALL_SYSCONFDIR=${SYSCONFDIR}
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
BUILD_DEPENDS = textproc/asciidoc
|
|
LIB_DEPENDS = archivers/zstd
|
|
|
|
# Failure in cpp1 test suite appears to be due to an embedded filename
|
|
# in a .o file present in one file, and not present in the file being
|
|
# compared with.
|
|
TEST_DEPENDS = shells/bash \
|
|
sysutils/coreutils
|
|
|
|
pre-test:
|
|
ln -fs ${LOCALBASE}/bin/gseq ${WRKDIR}/bin/seq
|
|
|
|
.include <bsd.port.mk>
|