pkgsrc/devel/libuv/Makefile
maya 5afb5e46f9 libuv: add and use autoconf test for pthread_condattr_setclock.
This call is absent in netbsd-6-0. libuv built anyway, but it later died
with undefined references in cmake.

I read outdated information and assumed that the previous attempt at
fixing the problem did not make a functional change, but it did.
pthread_condattr_setclock does have an effect on netbsd.

bump PKGREVISION so it is rebuilt, and for previous functional change.

thanks joerg and riastradh for clearing things up.
2017-03-28 18:44:49 +00:00

30 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.14 2017/03/28 18:44:49 maya Exp $
DISTNAME= libuv-1.11.0
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/}
MAINTAINER= agc@pkgsrc.org
HOMEPAGE= http://github.com/libuv/libuv/
COMMENT= Cross-platform asychronous I/O
LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake pkg-config
GNU_CONFIGURE= yes
HEADERS= uv-aix.h uv-bsd.h uv-darwin.h uv-linux.h uv-sunos.h \
uv-unix.h uv-win.h pthread-barrier.h
pre-configure:
${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
post-install:
.for file in ${HEADERS}
${INSTALL_DATA} ${WRKSRC}/include/${file} ${DESTDIR}${PREFIX}/include
.endfor
.include "../../mk/bsd.pkg.mk"