From ae9b956b547da683c706cba7c9d6823af6c31380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ximo=20Casta=C3=B1eda?= Date: Sun, 30 Jun 2024 15:53:09 +0200 Subject: [PATCH] Revert "man_pages_posix: bump to 2017.a (#10641)" (#10656) This reverts commit 00980a3fb69c5bd2f26f0729aaf65eb841bf88e6. --- .../man_pages_posix-2017.a.recipe | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 sys-apps/man-pages-posix/man_pages_posix-2017.a.recipe diff --git a/sys-apps/man-pages-posix/man_pages_posix-2017.a.recipe b/sys-apps/man-pages-posix/man_pages_posix-2017.a.recipe deleted file mode 100644 index 24e09c8bc..000000000 --- a/sys-apps/man-pages-posix/man_pages_posix-2017.a.recipe +++ /dev/null @@ -1,51 +0,0 @@ -SUMMARY="POSIX man-pages (0p, 1p, 3p)" -DESCRIPTION="Contains descriptions of the headers, the utilities, \ -and the functions documented in the POSIX standard." -HOMEPAGE="https://www.kernel.org/doc/man-pages/" -COPYRIGHT="2017 Institute of Electrical and Electronics Engineers, Inc - 2017 The Open Group" -LICENSE="POSIX" -REVISION="1" -SOURCE_URI="https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/${portName//_/-}-${portVersion/./-}.tar.xz" -CHECKSUM_SHA256="ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3" -SOURCE_DIR="${portName//_/-}-${portVersion%.*}" - -ARCHITECTURES="any" -DISABLE_SOURCE_PACKAGE="yes" - -PROVIDES=" - $portName = $portVersion - " -REQUIRES="" - -BUILD_REQUIRES="" -BUILD_PREREQUIRES=" - cmd:find - cmd:make - cmd:perl - " - -PATCH() -{ - # Replace Linux's prolog with Haiku's - local prolog="This manual page is part of the POSIX Programmer's Manual.\\n\ -This interface might not be implemented on Haiku." - - local manpages=( $(find man?p -type f) ) - for m in "${manpages[@]}" - do - perl -e ' -while (<>) { - $s .= $_; -} -chomp $s; -$s =~ s/(?<=\.SH PROLOG\n).*?(?=^\s*$)/'"$prolog"'/gms; -print "$s" -' < "$m" > "$m.new" - mv "$m.new" "$m" - done -} - -INSTALL() { - make MANDIR="$manDir" install -}