svn commit: r264402 - in head/share: examples/etc man/man5 mk

Mark Johnston markj at freebsd.org
Sun Apr 13 19:32:48 UTC 2014


On Sun, Apr 13, 2014 at 1:22 AM, Warner Losh <imp at freebsd.org> wrote:
> Author: imp
> Date: Sun Apr 13 05:22:26 2014
> New Revision: 264402
> URL: http://svnweb.freebsd.org/changeset/base/264402
>
> Log:
>   Convert NO_MANCOMPRESS to normal convention.

This breaks installworld for me with

...
install -o root  -g wheel -m 444  zh_CN.GB2312.cat
/usr/share/nls/zh_CN.GB2312/libc.cat
install -o root  -g wheel -m 444  zh_CN.UTF-8.cat
/usr/share/nls/zh_CN.UTF-8/libc.cat
install -o root -g wheel -m 444 btree.3.gz  /usr/share/man/man3
install: btree.3.gz: No such file or directory
*** Error code 71
...

>
> Modified:
>   head/share/examples/etc/make.conf
>   head/share/man/man5/make.conf.5
>   head/share/mk/bsd.man.mk
>   head/share/mk/bsd.own.mk
>
> [snip]
>
> Modified: head/share/mk/bsd.man.mk
> ==============================================================================
> --- head/share/mk/bsd.man.mk    Sun Apr 13 05:22:22 2014        (r264401)
> +++ head/share/mk/bsd.man.mk    Sun Apr 13 05:22:26 2014        (r264402)
> @@ -30,9 +30,6 @@
>  #              second, and there may be multiple pairs. The files
>  #              are hard-linked.
>  #
> -# NO_MANCOMPRESS       If you do not want unformatted manual pages to be
> -#              compressed when they are installed. [not set]
> -#
>  # NO_MLINKS    If you do not want install manual page links. [not set]
>  #
>  # MANFILTER    command to pipe the raw man page through before compressing
> @@ -77,10 +74,10 @@ MAN+=       ${MAN${__sect}}
>  _manpages:
>  all-man: _manpages
>
> -.if defined(NO_MANCOMPRESS)
> +.if ${MK_MANCOMPRESS} != "no"
>
>  # Make special arrangements to filter to a temporary file at build time
> -# for NO_MANCOMPRESS.
> +# for MK_MANCOMPRESS == no.
>  .if defined(MANFILTER)
>  FILTEXTENSION=         .filt
>  .else
> @@ -162,7 +159,7 @@ maninstall: _maninstall
>  _maninstall:
>  .if defined(MAN) && !empty(MAN)
>  _maninstall: ${MAN}
> -.if defined(NO_MANCOMPRESS)
> +.if ${MK_MANCOMPRESS} == "no"

Changing this line to ".if ${MK_MANCOMPRESS} != "no" seems to fix the problem.

>  .if defined(MANFILTER)
> [snip]


More information about the svn-src-all mailing list