The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=159503125826bc2d3b988921e7e85735ee09ad46
commit 159503125826bc2d3b988921e7e85735ee09ad46 Author: John Baldwin <j...@freebsd.org> AuthorDate: 2025-08-26 20:44:38 +0000 Commit: John Baldwin <j...@freebsd.org> CommitDate: 2025-08-26 20:44:38 +0000 libutil++: Rename manpage source files to avoid colons To permit checking the sources out on systems such as Windows with more restrictive file name requirements, rename the manpage source files to replace colons with underscrores. Use MANSRC.foo to point <bsd.man.mk> at the new source file names. Reviewed by: ivy Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D51794 --- lib/libutil++/Makefile | 4 ++++ lib/libutil++/{freebsd::FILE_up.3 => freebsd__FILE_up.3} | 0 lib/libutil++/{freebsd::addrinfo_up.3 => freebsd__addrinfo_up.3} | 0 lib/libutil++/{freebsd::fd_up.3 => freebsd__fd_up.3} | 0 lib/libutil++/{freebsd::malloc_up.3 => freebsd__malloc_up.3} | 0 lib/libutil++/{freebsd::nvlist_up.3 => freebsd__nvlist_up.3} | 0 lib/libutil++/{freebsd::pidfile.3 => freebsd__pidfile.3} | 0 lib/libutil++/{freebsd::stringf.3 => freebsd__stringf.3} | 0 8 files changed, 4 insertions(+) diff --git a/lib/libutil++/Makefile b/lib/libutil++/Makefile index 56b64bbf358c..2e7a614df800 100644 --- a/lib/libutil++/Makefile +++ b/lib/libutil++/Makefile @@ -11,6 +11,10 @@ MAN+= freebsd::FILE_up.3 \ freebsd::pidfile.3 \ freebsd::stringf.3 +.for page in ${MAN} +MANSRC.${page}= ${page:S/:/_/g} +.endfor + .include <src.opts.mk> HAS_TESTS= diff --git a/lib/libutil++/freebsd::FILE_up.3 b/lib/libutil++/freebsd__FILE_up.3 similarity index 100% rename from lib/libutil++/freebsd::FILE_up.3 rename to lib/libutil++/freebsd__FILE_up.3 diff --git a/lib/libutil++/freebsd::addrinfo_up.3 b/lib/libutil++/freebsd__addrinfo_up.3 similarity index 100% rename from lib/libutil++/freebsd::addrinfo_up.3 rename to lib/libutil++/freebsd__addrinfo_up.3 diff --git a/lib/libutil++/freebsd::fd_up.3 b/lib/libutil++/freebsd__fd_up.3 similarity index 100% rename from lib/libutil++/freebsd::fd_up.3 rename to lib/libutil++/freebsd__fd_up.3 diff --git a/lib/libutil++/freebsd::malloc_up.3 b/lib/libutil++/freebsd__malloc_up.3 similarity index 100% rename from lib/libutil++/freebsd::malloc_up.3 rename to lib/libutil++/freebsd__malloc_up.3 diff --git a/lib/libutil++/freebsd::nvlist_up.3 b/lib/libutil++/freebsd__nvlist_up.3 similarity index 100% rename from lib/libutil++/freebsd::nvlist_up.3 rename to lib/libutil++/freebsd__nvlist_up.3 diff --git a/lib/libutil++/freebsd::pidfile.3 b/lib/libutil++/freebsd__pidfile.3 similarity index 100% rename from lib/libutil++/freebsd::pidfile.3 rename to lib/libutil++/freebsd__pidfile.3 diff --git a/lib/libutil++/freebsd::stringf.3 b/lib/libutil++/freebsd__stringf.3 similarity index 100% rename from lib/libutil++/freebsd::stringf.3 rename to lib/libutil++/freebsd__stringf.3