~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH pnc] CMake: Fix installation directory of man pages

Details
Message ID
<20221108120852.17652-1-jamipkettunen@gmail.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
This used to install to /usr/man which isn't valid as confirmed under
Alpine, Arch and Void Linux. For example Void's xbps-src printed the
following:

=> pnc-0.9.1_1: running pre-pkg hook: 99-pkglint ...
=> ERROR: pnc-0.9.1_1: /usr/man is forbidden, use /usr/share/man.
=> ERROR: pnc-0.9.1_1: cannot continue with installation!

On Alpine[1] and Arch[2] this was already being worked around by moving
/usr/man under /usr/share/, so the files might as well be installed to
the expected directory.

[1] https://git.alpinelinux.org/aports/tree/community/pn/APKBUILD#n53
[2] https://github.com/dreemurrs-embedded/Pine64-Arch/blob/master/PKGBUILDS/sxmo/pn/PKGBUILD#L32

Original PR: https://github.com/Orange-OpenSource/pn/pull/4
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 89a9ba9..7f348cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,7 +68,7 @@ install(

install(
	FILES pnc.1
	DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
	DESTINATION share/man/man1
)

if( HAVE_GAWK_H )
-- 
2.38.1
Details
Message ID
<CO7CH9YU0EBE.XECMVK7HWWNC@applebloom>
In-Reply-To
<20221108120852.17652-1-jamipkettunen@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git.sr.ht:~anjan/pnc
   ae7ff49..8ba9b52  master -> master
--
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt
Reply to thread Export thread (mbox)