commit: dd1f25a19bdc00e0e2c3ad5a68a9f52d24a25ccf
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 18:20:38 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 18:24:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd1f25a1
sys-apps/util-linux: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-apps/util-linux/util-linux-9999.ebuild | 27 +--------------------------
1 file changed, 1 insertion(+), 26 deletions(-)
diff --git a/sys-apps/util-linux/util-linux-9999.ebuild
b/sys-apps/util-linux/util-linux-9999.ebuild
index 58017396bb6..141bdf409cb 100644
--- a/sys-apps/util-linux/util-linux-9999.ebuild
+++ b/sys-apps/util-linux/util-linux-9999.ebuild
@@ -17,8 +17,7 @@ if [[ ${PV} == 9999 ]] ; then
else
[[ "${PV}" = *_rc* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
- https://dev.gentoo.org/~polynomial-c/${MY_P}-manpages.tar.xz"
+
SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
fi
DESCRIPTION="Various useful Linux utilities"
@@ -87,18 +86,6 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
-PATCHES=(
-)
-
-rm_man() {
- [[ -n $1 ]] || die
- local el
- for el in $1 ; do
- find "${WORKDIR}/man" -type f -name "${el}.?" -delete \
- || die
- done
-}
-
src_prepare() {
default
@@ -117,14 +104,6 @@ src_prepare() {
if [[ ${PV} == 9999 ]] ; then
po/update-potfiles
eautoreconf
- else
- # Conditionally remove some man-pages
- use hardlink || rm_man "hardlink"
- use kill || rm_man "kill"
- use logger || rm_man "logger"
- use ncurses || rm_man "pg"
- use su || rm_man "su"
- use tty-helpers || rm_man "mesg wall write"
fi
elibtoolize
@@ -320,10 +299,6 @@ multilib_src_install_all() {
# e2fsprogs-libs didnt install .la files, and .pc work fine
find "${ED}" -name "*.la" -delete || die
- if [[ ${PV} != 9999 ]] ; then
- doman "${WORKDIR}"/man/man*/*
- fi
-
if ! use userland_GNU ; then
# manpage collisions
# TODO: figure out a good way to keep them