summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-07-22 20:20:38 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-07-22 20:24:57 +0200
commitdd1f25a19bdc00e0e2c3ad5a68a9f52d24a25ccf (patch)
treed181165149d07acc9c63ba0aad9543f3e10c2351
parentsys-apps/util-linux: Bump to version 2.37.1 (diff)
downloadgentoo-dd1f25a19bdc00e0e2c3ad5a68a9f52d24a25ccf.tar.gz
gentoo-dd1f25a19bdc00e0e2c3ad5a68a9f52d24a25ccf.tar.bz2
gentoo-dd1f25a19bdc00e0e2c3ad5a68a9f52d24a25ccf.zip
sys-apps/util-linux: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/util-linux/util-linux-9999.ebuild27
1 files changed, 1 insertions, 26 deletions
diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild
index 58017396bb61..141bdf409cb5 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