diff --git a/srcpkgs/man-pages/template b/srcpkgs/man-pages/template index 8386f6492f9..0422ff053de 100644 --- a/srcpkgs/man-pages/template +++ b/srcpkgs/man-pages/template @@ -1,7 +1,7 @@ # Template file for 'man-pages' pkgname=man-pages version=5.13 -revision=1 +revision=2 short_desc="Linux Documentation Project (LDP) manual pages" maintainer="Enno Boland " license="GPL-2.0-or-later" @@ -37,6 +37,9 @@ do_install() { # openssl-devel mv man3/rand.3 man3/glibc-rand.3 mv man3/err.3 man3/glibc-err.3 + # Fix references to these manpages + sed -i -e "s|.so man3/rand.3|.so man3/glibc-rand.3|" \ + -e "s|.so man3/err.3|.so man3/glibc-err.3|" man3/* # Rename some glibc specific manpages mv man1/{iconv.1,glibc-iconv.1} mv man1/{ldd.1,glibc-ldd.1}