sys-fs/lvm2: install man pages when USE=-thin
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 6 Sep 2019 19:43:26 +0000 (21:43 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 6 Sep 2019 19:44:03 +0000 (21:44 +0200)
Closes: https://bugs.gentoo.org/611340
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-fs/lvm2/lvm2-2.02.185-r1.ebuild [moved from sys-fs/lvm2/lvm2-2.02.185.ebuild with 98% similarity]
sys-fs/lvm2/lvm2-2.02.186.ebuild
sys-fs/lvm2/lvm2-2.03.05-r1.ebuild [moved from sys-fs/lvm2/lvm2-2.03.05.ebuild with 98% similarity]

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 459f918637b90d70767d57ecfeb71da9ed8237b5..c18e5334dcd14d223481a6ffbed102199fb1f274 100644 (file)
@@ -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
index 459f918637b90d70767d57ecfeb71da9ed8237b5..c18e5334dcd14d223481a6ffbed102199fb1f274 100644 (file)
@@ -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
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 87f738bf20e71f2a68f112d9678a88ccb3133d8c..e1103033f62ae5a3970d65afb00db7f15dd890e3 100644 (file)
@@ -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