[Bug 226731] Some port manual pages include version number in filename, breaking intuitive man use
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 6 17:18:34 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226731
--- Comment #5 from Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> ---
(In reply to freebsd from comment #0)
> I don't have all that many installed, so I have no idea what the
> extent of the problem is
I guess mostly the Makefile or Makefile.in files.
example for autoconf:
+--- man/Makefile.in.orig 2019-09-06 16:15:02 UTC
++++ man/Makefile.in
+@@ -252,9 +252,7 @@ install-man1: $(dist_man_MANS)
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
i=> +- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
i=> +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
=>+- sed 'N;N;s,\n, ,g' | { \
++ { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
(needs pkg-plist change)
or automake
---- Makefile.in.orig 2018-03-11 21:21:08 UTC
+--- Makefile.in.orig 2019-09-06 16:48:14 UTC
+++ Makefile.in
-@@ -3690,9 +3690,9 @@ doc/aclocal.1 doc/automake.1:
+@@ -2735,9 +2735,7 @@ install-man1: $(man1_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,^[^1][0-9a-z]*$$,1,;x' \
=> +- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
=> +- sed 'N;N;s,\n, ,g' | { \
++ { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+@@ -3690,9 +3688,9 @@ doc/aclocal.1 doc/automake.1:
&& echo ".so man1/$$f-$(APIVERSION).1" > $@
doc/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
(needs no pkg-plist change)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-multimedia
mailing list