# Created by: Johannes Lundberg # $FreeBSD$ PORTNAME= libepoll-shim PORTVERSION= 0.0.20161220 CATEGORIES= devel MAINTAINER= x11@FreeBSD.org COMMENT= epoll shim implemented using kevent LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= FreeBSDDesktop GH_PROJECT= epoll-shim GH_TAGNAME= c04b26b USE_LDCONFIG= yes USES= compiler uidfix MAKE_ARGS= INCSDIR=${PREFIX}/include/libepoll-shim/sys \ LIBDIR=${PREFIX}/lib WITHOUT_PROFILE=yes .include post-patch: .if "${CHOSEN_COMPILER_TYPE}" == "gcc" @${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \ -e 's|-Wno-thread-safety-analysis||' -e 's|Weverything|Wall|' ${WRKSRC}/Makefile .endif pre-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys .include