CVS commit: src/external/mit/libuv/lib
Module Name:src Committed By: mrg Date: Fri Jun 18 22:12:02 UTC 2021 Modified Files: src/external/mit/libuv/lib: Makefile Log Message: don't install the libuv.pc file for pic (but private) libs as well. avoids triggering a makefs warning when building a file system out of the DESTDIR directly, using the METALOG files etc: makefs: Can't open `././libuv.pc' for reading: No such file or directory (the file was installed, and the obsoleted.) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/mit/libuv/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/libuv/lib/Makefile diff -u src/external/mit/libuv/lib/Makefile:1.4 src/external/mit/libuv/lib/Makefile:1.5 --- src/external/mit/libuv/lib/Makefile:1.4 Mon Jun 1 14:39:42 2020 +++ src/external/mit/libuv/lib/Makefile Fri Jun 18 22:12:02 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2020/06/01 14:39:42 christos Exp $ +# $NetBSD: Makefile,v 1.5 2021/06/18 22:12:02 mrg Exp $ LIBISPRIVATE=pic @@ -61,7 +61,7 @@ CPPFLAGS+= -I${LIBUVDIR}/include -I${LIB LIBDPLIBS+= kvm ${NETBSDSRCDIR}/lib/libkvm -.if ${LIBISPRIVATE} != "yes" +.if ${LIBISPRIVATE} != "yes" && ${LIBISPRIVATE} != "pic" SHLIB_MAJOR= 1 SHLIB_MINOR= 0
CVS commit: src/external/mit/libuv/lib
Module Name:src Committed By: christos Date: Mon Jun 1 14:39:42 UTC 2020 Modified Files: src/external/mit/libuv/lib: Makefile Log Message: Arrange to create an _pic.a library too. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/mit/libuv/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/libuv/lib/Makefile diff -u src/external/mit/libuv/lib/Makefile:1.3 src/external/mit/libuv/lib/Makefile:1.4 --- src/external/mit/libuv/lib/Makefile:1.3 Sat May 30 16:54:46 2020 +++ src/external/mit/libuv/lib/Makefile Mon Jun 1 10:39:42 2020 @@ -1,9 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2020/05/30 20:54:46 christos Exp $ +# $NetBSD: Makefile,v 1.4 2020/06/01 14:39:42 christos Exp $ -LIBISPRIVATE=yes - -LIBISPRIVATE=yes -MKPICLIB=yes +LIBISPRIVATE=pic .include
CVS commit: src/external/mit/libuv/lib
Module Name:src Committed By: christos Date: Sat May 30 20:54:46 UTC 2020 Modified Files: src/external/mit/libuv/lib: Makefile Log Message: Create pic lib and don't install pkgconfig file. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mit/libuv/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/libuv/lib/Makefile diff -u src/external/mit/libuv/lib/Makefile:1.2 src/external/mit/libuv/lib/Makefile:1.3 --- src/external/mit/libuv/lib/Makefile:1.2 Sat May 30 16:47:59 2020 +++ src/external/mit/libuv/lib/Makefile Sat May 30 16:54:46 2020 @@ -1,7 +1,10 @@ -# $NetBSD: Makefile,v 1.2 2020/05/30 20:47:59 christos Exp $ +# $NetBSD: Makefile,v 1.3 2020/05/30 20:54:46 christos Exp $ LIBISPRIVATE=yes +LIBISPRIVATE=yes +MKPICLIB=yes + .include MKLINT= no @@ -61,10 +64,12 @@ CPPFLAGS+= -I${LIBUVDIR}/include -I${LIB LIBDPLIBS+= kvm ${NETBSDSRCDIR}/lib/libkvm +.if ${LIBISPRIVATE} != "yes" SHLIB_MAJOR= 1 SHLIB_MINOR= 0 PKGCONFIG=libuv .include "${.CURDIR}/../pkgconfig.mk" +.endif .include
CVS commit: src/external/mit/libuv
Module Name:src Committed By: christos Date: Sun May 24 19:28:31 UTC 2020 Added Files: src/external/mit/libuv: mkpc Log Message: Add build glue To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/mit/libuv/mkpc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/external/mit/libuv/mkpc diff -u /dev/null src/external/mit/libuv/mkpc:1.1 --- /dev/null Sun May 24 15:28:31 2020 +++ src/external/mit/libuv/mkpc Sun May 24 15:28:31 2020 @@ -0,0 +1,27 @@ +#!/bin/sh +# $NetBSD: mkpc,v 1.1 2020/05/24 19:28:31 christos Exp $ + +set +x +getversion() { + (echo '#include "uv/version.h"'; + echo UV_VERSION_MAJOR.UV_VERSION_MINOR.UV_VERSION_PATCH) | + eval "$CPP $CPPFLAGS" -I$1 | grep -v '#' | tr -d ' ' +} +VERSION="$(getversion $1)" +echo ${VERSION} 1>&2 + +cat << EOF | sed -e s/@VERSION@/${VERSION}/ +# \$NetBSD: mkpc,v 1.1 2020/05/24 19:28:31 christos Exp $ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib +includedir=/usr/include + +Name: libuv +Version: @VERSION@ +Description: multi-platform support library with a focus on asynchronous I/O. +URL: http://libuv.org/ + +Libs: -luv -lkvm +Cflags: +EOF