Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/libuv/lib don't install the libuv.pc file for p...



details:   https://anonhg.NetBSD.org/src/rev/dcdddadf2973
branches:  trunk
changeset: 379764:dcdddadf2973
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jun 18 22:12:02 2021 +0000

description:
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.)

diffstat:

 external/mit/libuv/lib/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1cdf02af15b8 -r dcdddadf2973 external/mit/libuv/lib/Makefile
--- a/external/mit/libuv/lib/Makefile   Fri Jun 18 21:58:20 2021 +0000
+++ b/external/mit/libuv/lib/Makefile   Fri Jun 18 22:12:02 2021 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index