diff options
author | Cheyenne Wills <cwills@witznd.net> | 2020-05-29 07:31:52 -0600 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-04 16:35:12 +0300 |
commit | 1597004200e7bc42454ce57ebf9670676f6aa76b (patch) | |
tree | 867d21f9c13be5973853dcfe1ca828b3665d7e13 /dev-lang | |
parent | dev-lang/icon: fix for building with sys-libs/musl (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-lang/icon/icon-9.5.1-r2.ebuild | 6 |
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 d76ac046eb3d..d986c29147b0 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 |