svn commit: r204379 - head/tools/build/mk

Antoine Brodin antoine at FreeBSD.org
Sat Feb 27 10:37:15 UTC 2010


Ruslan Ermilov <ru at FreeBSD.org> wrote:
> Picking up a random context...  This doesn't handle the NO_MANCOMPRESS
> case where manpages are installed uncompressed.

What about the following patch.

Index: Makefile.inc1
===================================================================
RCS file: /home/ncvs/src/Makefile.inc1,v
retrieving revision 1.640
diff -u -r1.640 Makefile.inc1
--- Makefile.inc1	26 Jan 2010 10:00:26 -0000	1.640
+++ Makefile.inc1	27 Feb 2010 10:27:35 -0000
@@ -1259,7 +1259,7 @@
 	@echo ">>> Removing old files (only deletes safe to delete libs)"
 # Ask for every old file if the user really wants to remove it.
 # It's annoying, but better safe than sorry.
-	@for file in ${OLD_FILES}; do \
+	@for file in ${OLD_FILES} ${OLD_FILES:Musr/share/*man/*.gz:R}; do \
 		if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
 			chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
 			rm ${RM_I} "${DESTDIR}/$${file}"; \
@@ -1279,7 +1279,7 @@
 
 check-old-files:
 	@echo ">>> Checking for old files"
-	@for file in ${OLD_FILES}; do \
+	@for file in ${OLD_FILES} ${OLD_FILES:Musr/share/*man/*.gz:R}; do \
 		if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
 		 	echo "${DESTDIR}/$${file}"; \
 		fi; \


Cheers,

Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: M.diff
Type: text/x-diff
Size: 1060 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20100227/a84a9c10/M.bin


More information about the svn-src-all mailing list