openbsd-ports/graphics/tiff/patches/patch-man_Makefile_in
2011-05-09 08:14:43 +00:00

16 lines
613 B
Plaintext

$OpenBSD: patch-man_Makefile_in,v 1.9 2011/05/09 08:14:43 giovanni Exp $
Replace .3tiff man page suffix with standard .3
--- man/Makefile.in.orig Sat Apr 9 22:00:49 2011
+++ man/Makefile.in Thu Apr 21 15:35:54 2011
@@ -403,7 +403,7 @@ install-man3: $(dist_man3_MANS)
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^.[0-9a-z]*$$,3,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \