v1.34.0 * unix: move random-sysctl to random-sysctl-linux * netbsd: use KERN_ARND sysctl to get entropy * unix: refactor uv__fs_copyfile() logic * build: fix android build, add missing sources * build: fix android build, fix symbol redefinition * build: fix android autotools build * fs: handle non-functional statx system call * unix,win: add uv_sleep() * doc: add richardlau to maintainers * aix: fix netmask for IPv6 * aix: clean up after errors in uv_interface_addresses() * aix: fix setting of physical addresses * fs: add uv_fs_mkstemp * unix: switch uv_sleep() to nanosleep() * unix: retry on EINTR in uv_sleep() * zos: fix nanosleep() emulation
38 lines
995 B
Makefile
38 lines
995 B
Makefile
# $NetBSD: Makefile,v 1.57 2019/12/04 12:56:37 adam Exp $
|
|
|
|
DISTNAME= libuv-1.34.0
|
|
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"
|