You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir build &&cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_MANDIR=/usr/man ..
make
make install
this installs the man pages in /usr/share/man/... and not in /usr/man/...
The path in indeed harcoded in man/CMakeLists.txt
Problem description
I am the maintainer for the slackbuilds.org repository for proj and the manpages in slackware are located in /usr/man not /usr/share/man.
Until now the autotools version supported setting the manpages paths with the --mandir= flag but with autotoold phased out in v9.0.0, I have to use cmake.
The following patch should allow the use of the -DCMAKE_INSTALL_MANDIR flag while still keeping the default path as /share/man as specified by the GNUInstallDirs default:
- autotools phased out so using cmake instead
- patch to fix hardcoded mandir path and allow -DCMAKE_INSTALL_MANDIR
flag. Patch submitted upstream will be merged in the next version:
OSGeo/PROJ#3080
Signed-off-by: ArTourter <artourter@gmail.com>
- autotools phased out so using cmake instead
- patch to fix hardcoded mandir path and allow -DCMAKE_INSTALL_MANDIR
flag. Patch submitted upstream will be merged in the next version:
OSGeo/PROJ#3080
Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Example of problem
configuring compilation using
this installs the man pages in
/usr/share/man/...
and not in/usr/man/...
The path in indeed harcoded in man/CMakeLists.txt
Problem description
I am the maintainer for the slackbuilds.org repository for proj and the manpages in slackware are located in /usr/man not /usr/share/man.
Until now the autotools version supported setting the manpages paths with the
--mandir=
flag but with autotoold phased out in v9.0.0, I have to use cmake.The following patch should allow the use of the -DCMAKE_INSTALL_MANDIR flag while still keeping the default path as /share/man as specified by the GNUInstallDirs default:
I can submit a PR if you are ok with it.
Environment Information
proj-9.0.0
)Installation method
The text was updated successfully, but these errors were encountered: