Module Name: src
Committed By: riastradh
Date: Tue Jan 14 19:58:10 UTC 2025
Modified Files:
src/external/bsd/zstd/lib: Makefile
src/external/mit/libuv/lib: Makefile
Log Message:
zstd, libuv: Fix conditional LIBISPRIVATE=pic setting.
This was wrong for arbitrary MKPIC=no builds, and is unnecessary for
sun2 builds now that bsd.lib.mk already handles this case
appropriately.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/zstd/lib/Makefile
cvs rdiff -u -r1.11 -r1.12 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/bsd/zstd/lib/Makefile
diff -u src/external/bsd/zstd/lib/Makefile:1.6 src/external/bsd/zstd/lib/Makefile:1.7
--- src/external/bsd/zstd/lib/Makefile:1.6 Fri Nov 8 16:59:26 2024
+++ src/external/bsd/zstd/lib/Makefile Tue Jan 14 19:58:10 2025
@@ -1,10 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2024/11/08 16:59:26 christos Exp $
+# $NetBSD: Makefile,v 1.7 2025/01/14 19:58:10 riastradh Exp $
-.if ${MACHINE} == "sun2"
-LIBISPRIVATE=yes
-.else
LIBISPRIVATE=pic
-.endif
NOLINT=yes # XXX
WARNS?= 4
.include <bsd.init.mk>
Index: src/external/mit/libuv/lib/Makefile
diff -u src/external/mit/libuv/lib/Makefile:1.11 src/external/mit/libuv/lib/Makefile:1.12
--- src/external/mit/libuv/lib/Makefile:1.11 Wed Nov 13 03:38:58 2024
+++ src/external/mit/libuv/lib/Makefile Tue Jan 14 19:58:10 2025
@@ -1,10 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2024/11/13 03:38:58 riastradh Exp $
+# $NetBSD: Makefile,v 1.12 2025/01/14 19:58:10 riastradh Exp $
-.if ${MACHINE} == "sun2"
-LIBISPRIVATE=yes
-.else
LIBISPRIVATE=pic
-.endif
.include <bsd.own.mk>