summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-09-06 21:43:26 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-09-06 21:44:03 +0200
commit3f9ce3b7b58b39ff5f7707c06a3b4124d27363c3 (patch)
tree1af5ee8a0f529d9fd48fcbb23b6d3f445f031f3d /sys-fs/lvm2
parentsys-fs/lvm2: fix USE="static-libs device-mapper-only" (diff)
downloadgentoo-3f9ce3b7b58b39ff5f7707c06a3b4124d27363c3.tar.gz
gentoo-3f9ce3b7b58b39ff5f7707c06a3b4124d27363c3.tar.bz2
gentoo-3f9ce3b7b58b39ff5f7707c06a3b4124d27363c3.zip
sys-fs/lvm2: install man pages when USE=-thin
Closes: https://bugs.gentoo.org/611340 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/lvm2-2.02.185-r1.ebuild (renamed from sys-fs/lvm2/lvm2-2.02.185.ebuild)4
-rw-r--r--sys-fs/lvm2/lvm2-2.02.186.ebuild4
-rw-r--r--sys-fs/lvm2/lvm2-2.03.05-r1.ebuild (renamed from sys-fs/lvm2/lvm2-2.03.05.ebuild)4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-fs/lvm2/lvm2-2.02.185.ebuild b/sys-fs/lvm2/lvm2-2.02.185-r1.ebuild
index 459f918637b9..c18e5334dcd1 100644
--- a/sys-fs/lvm2/lvm2-2.02.185.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.185-r1.ebuild
@@ -115,9 +115,9 @@ src_prepare() {
sed -i -e "s:/usr/bin/true:$(type -P true):" scripts/blk_availability_systemd_red_hat.service.in || die #517514
- # Without thin-privision-tools, there is nothing to install for target install_man7:
+ # Don't install thin man page when not requested
if ! use thin ; then
- sed -i -e '/^install_lvm2/s:install_man7::' man/Makefile.in || die
+ sed -i -e 's/^\(MAN7+=.*\) $(LVMTHINMAN) \(.*\)$/\1 \2/' man/Makefile.in || die
fi
eautoreconf
diff --git a/sys-fs/lvm2/lvm2-2.02.186.ebuild b/sys-fs/lvm2/lvm2-2.02.186.ebuild
index 459f918637b9..c18e5334dcd1 100644
--- a/sys-fs/lvm2/lvm2-2.02.186.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.186.ebuild
@@ -115,9 +115,9 @@ src_prepare() {
sed -i -e "s:/usr/bin/true:$(type -P true):" scripts/blk_availability_systemd_red_hat.service.in || die #517514
- # Without thin-privision-tools, there is nothing to install for target install_man7:
+ # Don't install thin man page when not requested
if ! use thin ; then
- sed -i -e '/^install_lvm2/s:install_man7::' man/Makefile.in || die
+ sed -i -e 's/^\(MAN7+=.*\) $(LVMTHINMAN) \(.*\)$/\1 \2/' man/Makefile.in || die
fi
eautoreconf
diff --git a/sys-fs/lvm2/lvm2-2.03.05.ebuild b/sys-fs/lvm2/lvm2-2.03.05-r1.ebuild
index 87f738bf20e7..e1103033f62a 100644
--- a/sys-fs/lvm2/lvm2-2.03.05.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.05-r1.ebuild
@@ -108,9 +108,9 @@ src_prepare() {
sed -i -e "s:/usr/bin/true:$(type -P true):" scripts/blk_availability_systemd_red_hat.service.in || die #517514
- # Without thin-privision-tools, there is nothing to install for target install_man7:
+ # Don't install thin man page when not requested
if ! use thin ; then
- sed -i -e '/^install_lvm2/s:install_man7::' man/Makefile.in || die
+ sed -i -e 's/^\(MAN7+=.*\) $(LVMTHINMAN) \(.*\)$/\1 \2/' man/Makefile.in || die
fi
eautoreconf