Changeset View
Changeset View
Standalone View
Standalone View
head/devel/libepoll-shim/Makefile
# Created by: Johannes Lundberg <johalun0@gmail.com> | # Created by: Johannes Lundberg <johalun0@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libepoll-shim | PORTNAME= libepoll-shim | ||||
PORTVERSION= 0.0.20201229 | PORTVERSION= 0.0.20210213 | ||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MAINTAINER= x11@FreeBSD.org | MAINTAINER= x11@FreeBSD.org | ||||
COMMENT= Small epoll implementation using kqueue | COMMENT= Small epoll implementation using kqueue | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
USES= cmake compiler:c11 | USES= cmake compiler:c11 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= jiixyj | GH_ACCOUNT= jiixyj | ||||
GH_PROJECT= epoll-shim | GH_PROJECT= epoll-shim | ||||
GH_TAGNAME= 1c27d2d | GH_TAGNAME= c8491d3 | ||||
PLIST_SUB= SHIM_EVENTFD="${exists(/usr/include/sys/eventfd.h):?@comment :}" | PLIST_SUB= SHIM_EVENTFD="${exists(/usr/include/sys/eventfd.h):?@comment :}" | ||||
do-test: | do-test: | ||||
# Exclude certain tests in resource restricted environments | # Exclude certain tests in resource restricted environments | ||||
@(if [ `ulimit -n` -lt 20100 ]; then \ | @(if [ `ulimit -n` -lt 20100 ]; then \ | ||||
${ECHO} "Skipping test perf-many-fds.perf_many_fds__perf"; \ | ${ECHO} "Skipping test perf-many-fds.perf_many_fds__perf"; \ | ||||
SKIP_TESTS="-E ^(perf-many-fds.perf_many_fds__perf"; \ | SKIP_TESTS="-E ^(perf-many-fds.perf_many_fds__perf"; \ | ||||
if [ `ulimit -n` -lt 1100 ]; then \ | if [ `ulimit -n` -lt 1100 ]; then \ | ||||
Show All 9 Lines |