v1.40.0 … Changes since version 1.39.0: * udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak) * include: re-map UV__EPROTO from 4046 to -4046 (YuMeiJie) * doc: correct UV_UDP_MMSG_FREE version added (cjihrig) * doc: add uv_metrics_idle_time() version metadata (Ryan Liptak) * win,tty: pass through utf-16 surrogate pairs (Mustafa M) * unix: fix DragonFly BSD build (Aleksej Lebedev) * win,udp: fix error code returned by connect() (Santiago Gimeno) * src: suppress user_timeout maybe-uninitialized (Daniel Bevenius) * test: fix compiler warning (Vladimír Čunát) * build: fix the Haiku cmake build (David Carlier) * linux: fix i386 sendmmsg/recvmmsg support (Ben Noordhuis) * build: add libuv-static pkg-config file (Nikolay Mitev) * unix,win: add uv_timer_get_due_in() (Ulrik Strid) * build,unix: add QNX support (Elad Lahav) * include: remove incorrect UV__ERR() for EPROTO
38 lines
995 B
Makefile
38 lines
995 B
Makefile
# $NetBSD: Makefile,v 1.65 2020/10/02 12:22:34 adam Exp $
|
|
|
|
DISTNAME= libuv-1.40.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"
|