summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-20 06:28:03 +0000
committerSam James <sam@gentoo.org>2023-02-20 06:28:14 +0000
commit0a39c6c2555aebbe9e8574f3595e5af89701e12b (patch)
tree9d41894376be887435ebec02603e134a1a29e217 /sys-apps/diffutils
parentdev-python/pytest-cov: Use pypi.eclass (diff)
downloadgentoo-0a39c6c2555aebbe9e8574f3595e5af89701e12b.tar.gz
gentoo-0a39c6c2555aebbe9e8574f3595e5af89701e12b.tar.bz2
gentoo-0a39c6c2555aebbe9e8574f3595e5af89701e12b.zip
sys-apps/diffutils: avoid help2man
It tries to regenerate the man page because of the diff patch. Closes: https://bugs.gentoo.org/895500 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/diffutils')
-rw-r--r--sys-apps/diffutils/diffutils-3.9-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/diffutils/diffutils-3.9-r1.ebuild b/sys-apps/diffutils/diffutils-3.9-r1.ebuild
index b33f99dcdb75..7aebfc8cbfa7 100644
--- a/sys-apps/diffutils/diffutils-3.9-r1.ebuild
+++ b/sys-apps/diffutils/diffutils-3.9-r1.ebuild
@@ -37,6 +37,13 @@ PATCHES=(
"${FILESDIR}"/${P}-diff-D-option-regression.patch
)
+src_prepare() {
+ default
+
+ # Needed because of ${P}-diff-D-option-regression.patch
+ touch man/diff.1 || die
+}
+
src_configure() {
use static && append-ldflags -static