Wed Feb 23 00:06:49 2022 UTC ()
libXi: Fixup libmansuffix in manual pages.

The manpages use unadorned libmansuffix instead of __libmansuffix__ or
@libmansuffix@ that the standard transformations handle.

Add ad-hoc s/// command for it.  It has "3" hardcoded because there's
no easy way to look up that mapping, but then that very same "3" is
hardcoded in the file names anyway.


(uwe)
diff -r1.14 -r1.15 src/external/mit/xorg/lib/libXi/Makefile

cvs diff -r1.14 -r1.15 src/external/mit/xorg/lib/libXi/Makefile (expand / switch to context diff)
--- src/external/mit/xorg/lib/libXi/Makefile 2022/02/22 22:49:39 1.14
+++ src/external/mit/xorg/lib/libXi/Makefile 2022/02/23 00:06:49 1.15
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2022/02/22 22:49:39 uwe Exp $
+#	$NetBSD: Makefile,v 1.15 2022/02/23 00:06:49 uwe Exp $
 
 .include <bsd.own.mk>
 
@@ -83,6 +83,9 @@
 COPTS.XSndExEv.c+=	-Wno-error	# XXX
 
 CWARNFLAGS.clang+=	-Wno-pointer-sign
+
+# libXi does not use __libmansuffix__ or @libmansuffix@ in its man pages
+X11EXTRAMANDEFS = -e 's,libmansuffix,3,g'
 
 # X Input v1 man pages
 MAN +=		XAllowDeviceEvents.3