1 |
commit: 1597004200e7bc42454ce57ebf9670676f6aa76b |
2 |
Author: Cheyenne Wills <cwills <AT> witznd <DOT> net> |
3 |
AuthorDate: Fri May 29 13:31:52 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 4 13:35:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15970042 |
7 |
|
8 |
dev-lang/icon: fix broken symlink when USE=-X |
9 |
|
10 |
Skips adding symlink to vib if graphics support is not enabled. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/723066 |
13 |
Signed-off-by: Cheyenne Wills <cwills <AT> witznd.net> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/15671 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
dev-lang/icon/icon-9.5.1-r2.ebuild | 6 ++++-- |
18 |
1 file changed, 4 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-lang/icon/icon-9.5.1-r2.ebuild b/dev-lang/icon/icon-9.5.1-r2.ebuild |
21 |
index d76ac046eb3..d986c29147b 100644 |
22 |
--- a/dev-lang/icon/icon-9.5.1-r2.ebuild |
23 |
+++ b/dev-lang/icon/icon-9.5.1-r2.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2018 Gentoo Authors |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=6 |
30 |
@@ -95,7 +95,9 @@ src_install() { |
31 |
dosym ../$(get_libdir)/icon/bin/icont /usr/bin/icont |
32 |
dosym ../$(get_libdir)/icon/bin/iconx /usr/bin/iconx |
33 |
dosym ../$(get_libdir)/icon/bin/icon /usr/bin/icon |
34 |
- dosym ../$(get_libdir)/icon/bin/vib /usr/bin/vib |
35 |
+ if use X; then |
36 |
+ dosym ../$(get_libdir)/icon/bin/vib /usr/bin/vib |
37 |
+ fi |
38 |
|
39 |
cd "${S}/man/man1" || die |
40 |
doman "${PN}"t.1 |