summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheyenne Wills <cwills@witznd.net>2020-05-29 07:31:52 -0600
committerJoonas Niilola <juippis@gentoo.org>2020-06-04 16:35:12 +0300
commit1597004200e7bc42454ce57ebf9670676f6aa76b (patch)
tree867d21f9c13be5973853dcfe1ca828b3665d7e13 /dev-lang/icon
parentdev-lang/icon: fix for building with sys-libs/musl (diff)
downloadgentoo-1597004200e7bc42454ce57ebf9670676f6aa76b.tar.gz
gentoo-1597004200e7bc42454ce57ebf9670676f6aa76b.tar.bz2
gentoo-1597004200e7bc42454ce57ebf9670676f6aa76b.zip
dev-lang/icon: fix broken symlink when USE=-X
Skips adding symlink to vib if graphics support is not enabled. Closes: https://bugs.gentoo.org/723066 Signed-off-by: Cheyenne Wills <cwills@witznd.net> Closes: https://github.com/gentoo/gentoo/pull/15671 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/icon')
-rw-r--r--dev-lang/icon/icon-9.5.1-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/icon/icon-9.5.1-r2.ebuild b/dev-lang/icon/icon-9.5.1-r2.ebuild
index d76ac046eb3..d986c29147b 100644
--- a/dev-lang/icon/icon-9.5.1-r2.ebuild
+++ b/dev-lang/icon/icon-9.5.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -95,7 +95,9 @@ src_install() {
dosym ../$(get_libdir)/icon/bin/icont /usr/bin/icont
dosym ../$(get_libdir)/icon/bin/iconx /usr/bin/iconx
dosym ../$(get_libdir)/icon/bin/icon /usr/bin/icon
- dosym ../$(get_libdir)/icon/bin/vib /usr/bin/vib
+ if use X; then
+ dosym ../$(get_libdir)/icon/bin/vib /usr/bin/vib
+ fi
cd "${S}/man/man1" || die
doman "${PN}"t.1