Module Name:    src
Committed By:   riastradh
Date:           Mon Nov 11 13:58:56 UTC 2024

Modified Files:
        src: UPDATING

Log Message:
UPDATING: Expand list of deletions for zstd mess.

1. Don't use $ for variables -- if you copy & paste, e.g.,

        rm -rf $DESTDIR/usr/lib/libarchive*

   and DESTDIR is not actually defined in the environment, you might
   be an unhappy camper.  (Resolvable by using /bin/pax to extract
   the library from base.tgz but not great!)

2. Nix compat libraries and libmagic too.

3. Sort for easier maintenance.


To generate a diff of this commit:
cvs rdiff -u -r1.365 -r1.366 src/UPDATING

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/UPDATING
diff -u src/UPDATING:1.365 src/UPDATING:1.366
--- src/UPDATING:1.365	Sun Nov 10 13:58:59 2024
+++ src/UPDATING	Mon Nov 11 13:58:56 2024
@@ -1,4 +1,4 @@
-$NetBSD: UPDATING,v 1.365 2024/11/10 13:58:59 martin Exp $
+$NetBSD: UPDATING,v 1.366 2024/11/11 13:58:56 riastradh Exp $
 
 This file (UPDATING) is intended to be a brief reference to recent
 changes that might cause problems in the build process, and a guide for
@@ -22,11 +22,21 @@ Recent changes:
 20241104:
 	Changes around the integration of the zstd compression
 	library may require manual deletion of some object directories
-	if you update from a build from a few days ago.
-	rm -rf ${OBJ}/tools/gcc/ ${OBJ}/external/gpl3/gcc/
-	rm -rf ${OBJ}/external/bsd/libarchive/ ${OBJ}/external/bsd/file/
-	rm -rf ${OBJ}/external/bsd/zstd
-	Also remove libzstd from ${DEST}: rm ${DEST}/usr/lib/libzstd*
+	if you update from a build from a few days ago:
+	rm -rf DESTDIR/usr/lib/*/libarchive*
+	rm -rf DESTDIR/usr/lib/*/libmagic*
+	rm -rf DESTDIR/usr/lib/*/libzstd*
+	rm -rf DESTDIR/usr/lib/libarchive*
+	rm -rf DESTDIR/usr/lib/libmagic*
+	rm -rf DESTDIR/usr/lib/libzstd*
+	rm -rf OBJDIR/compat/*/*/external/bsd/file/
+	rm -rf OBJDIR/compat/*/*/external/bsd/libarchive/
+	rm -rf OBJDIR/compat/*/*/external/bsd/zstd/
+	rm -rf OBJDIR/external/bsd/file/
+	rm -rf OBJDIR/external/bsd/libarchive/
+	rm -rf OBJDIR/external/bsd/zstd/
+	rm -rf OBJDIR/external/gpl3/gcc/
+	rm -rf OBJDIR/tools/gcc/
 
 20240926:
 	Building -current when running on amd64 from about 20240924

Reply via email to