615c496180
to exit immediately with an error. This bug went unnoticed because OpenBSD's pthread_cond_destroy() can be called twice in a row on the same condition variable. FreeBSD is less forgiving.
33 lines
695 B
Makefile
33 lines
695 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= got
|
|
PORTVERSION= 0.44
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://gameoftrees.org/releases/
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= Game of Trees version control system
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
USES= uidfix
|
|
|
|
n= ${.newline}
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name '*.[cy]' -exec \
|
|
${REINPLACE_CMD} '1,/^#include "/{ \
|
|
/^#include "/i\$n#include "openbsd-compat.h"\$n$n}' \
|
|
{} +
|
|
${CP} -R ${FILESDIR}/openbsd-compat ${WRKSRC}
|
|
|
|
# The regression test suite requires:
|
|
# installed got
|
|
# installed git
|
|
# ssh to 127.0.0.1
|
|
run-test:
|
|
@(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} regress)
|
|
|
|
.include <bsd.port.mk>
|