From: Thomas Deutschmann Date: Fri, 6 Sep 2019 19:43:26 +0000 (+0200) Subject: sys-fs/lvm2: install man pages when USE=-thin X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3f9ce3b7b58b39ff5f7707c06a3b4124d27363c3;p=gentoo.git 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 --- diff --git a/sys-fs/lvm2/lvm2-2.02.185.ebuild b/sys-fs/lvm2/lvm2-2.02.185-r1.ebuild similarity index 98% rename from sys-fs/lvm2/lvm2-2.02.185.ebuild rename to 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 similarity index 98% rename from sys-fs/lvm2/lvm2-2.03.05.ebuild rename to 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