Re: cmake-4.2.0 has simple typo in build instructions

"Zeckma" ([email protected] via blfs-support Mailing List) <[email protected]> Wed, 26 Nov 2025 18:27:31 -0700
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On 11/26/25 17:58, "Richard" ([email protected] via blfs-support
Mailing List) wrote:
 > The build instructions for all cmake-4.X.X I looked at have:
 >             --mandir=/share/man  \
 > and should be:
 >             --mandir=/usr/share/man  \
 >
 > It is a pain in the a55 for us cut and paste types... 8^).

The bootstrap process will prepend the prefix (/usr) to several
arguments, like what's given to --mandir. Another example is
--docdir and --datadir, the prefix is prepended to what is given to
those parameters.

So the instructions are correct. You can refer to
https://gitlab.archlinux.org/archlinux/packaging/packages/cmake/-/blob/main/PKGBUILD
which does the same thing. Going to
https://archlinux.org/packages/extra/x86_64/cmake/ and seeing the
package contents, the contents are installed in the right locations.

- Zeckma

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page