mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
83781d2167
- Drop no longer necessary graphics/wayland workaround
Changes: 07e2a80...ae12186
Approved by: zeising (x11), grembo (from previous update)
Differential Revision: https://reviews.freebsd.org/D23801
36 lines
978 B
Makefile
36 lines
978 B
Makefile
# Created by: Johannes Lundberg <johalun0@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libepoll-shim
|
|
PORTVERSION= 0.0.20200223
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Small epoll implementation using kqueue
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c11
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= FreeBSDDesktop
|
|
GH_PROJECT= epoll-shim
|
|
GH_TAGNAME= ae12186
|
|
|
|
do-test:
|
|
# Exclude certain tests in resource restricted environments
|
|
@(if [ `ulimit -n` -lt 20100 ]; then \
|
|
${ECHO} "Skipping test perf-many-fds.perf_many_fds__perf"; \
|
|
SKIP_TESTS="-E ^(perf-many-fds.perf_many_fds__perf"; \
|
|
if [ `ulimit -n` -lt 1100 ]; then \
|
|
${ECHO} "Skipping test timerfd-test.timerfd__many_timers"; \
|
|
SKIP_TESTS=$$SKIP_TESTS"|timerfd-test.timerfd__many_timers"; \
|
|
fi; \
|
|
SKIP_TESTS=$$SKIP_TESTS")$$"; \
|
|
fi; \
|
|
cd ${TEST_WRKSRC} && \
|
|
${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} $$SKIP_TESTS)
|
|
|
|
.include <bsd.port.mk>
|