pkgsrc/devel/libuv/Makefile
adam 2f79f09be3 libuv: updated to 1.44.2
Version 1.44.2 (Stable)

Important bugs fixed

loop: better align order-of-events behavior between platforms
zos: fix fs event not fired if the watched file is moved/removed/recreated
win: Fix pipe resource leak if closed during connect (and other bugs)
zos: don't error when killing a zombie process

Regressions fixed

macos: avoid posix_spawnp() cwd bug
kqueue: skip EVFILT_PROC events when invalidating events for an fd.
2022-07-15 13:16:36 +00:00

38 lines
995 B
Makefile

# $NetBSD: Makefile,v 1.75 2022/07/15 13:16:36 adam Exp $
DISTNAME= libuv-1.44.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= agc@pkgsrc.org
HOMEPAGE= https://github.com/libuv/libuv
COMMENT= Cross-platform asychronous I/O
LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake pkg-config
USE_FEATURES+= strnlen
GNU_CONFIGURE= yes
# 3 test failures as of 1.31.0
# https://github.com/libuv/libuv/issues/2437
# connect_unspecified, tcp_open, udp_open
TEST_TARGET= check
INSTALLATION_DIRS+= include/uv
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.[0-9]-*) || \
!empty(MACHINE_PLATFORM:MSunOS-5.10-*)
CFLAGS+= -DSUNOS_NO_IFADDRS
.endif
pre-configure:
${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/include/uv/* ${DESTDIR}${PREFIX}/include/uv/
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"