man-pages: crypt{,_r}.3 pages provided by libxcrypt-devel on glibc

This commit is contained in:
Andrew J. Hesford 2024-01-06 11:02:05 -05:00
parent 8558f33408
commit 335d423149
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'man-pages'
pkgname=man-pages
version=6.05.01
revision=1
revision=2
short_desc="Linux Documentation Project (LDP) manual pages"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
@ -45,6 +45,12 @@ do_install() {
mv man1/{ldd.1,glibc-ldd.1}
mv man1/{getent.1,glibc-getent.1}
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
# libxcrypt-devel
rm -f man3/crypt.3
rm -f man3/crypt_r.3
fi
sed 's/^\.TH SYSLOG 2/.TH KLOGCTL 3/' man2/syslog.2 >man3/klogctl.3
}