1 |
commit: c7779b29f76d57649a36cd5b6d53c7fb1d8bbe71 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sat Apr 27 00:33:50 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 27 04:50:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7779b29 |
7 |
|
8 |
xorg-3.eclass: Remove parent directories of ${D}/usr/share/man/man3 when empty. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/595936 |
11 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
eclass/xorg-3.eclass | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass |
18 |
index 5b44ac34207..557a65233cb 100644 |
19 |
--- a/eclass/xorg-3.eclass |
20 |
+++ b/eclass/xorg-3.eclass |
21 |
@@ -374,6 +374,7 @@ xorg-3_src_install() { |
22 |
|
23 |
if in_iuse doc && ! use doc; then |
24 |
rm -rf "${D}"/usr/share/man/man3 |
25 |
+ rmdir "${D}"/usr{/share{/man,},} 2>/dev/null |
26 |
fi |
27 |
|
28 |
# Don't install libtool archives (even for modules) |