commit:     f492cb1be8da58c5c53938cc2404fe84df137030
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  9 18:34:42 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 18:34:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f492cb1b

dev-ml/lablgtk: fix broken symlink

Closes: https://bugs.gentoo.org/741392
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/lablgtk/lablgtk-2.18.10.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ml/lablgtk/lablgtk-2.18.10.ebuild 
b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild
index d6a5323964d..5cac1f5c162 100644
--- a/dev-ml/lablgtk/lablgtk-2.18.10.ebuild
+++ b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild
@@ -67,7 +67,8 @@ src_install() {
        rm "${ED}/usr/$(get_libdir)/ocaml/ld.conf" || die
        dosym lablgtk2/liblablgtk2.a \
                /usr/$(get_libdir)/ocaml/liblablgtk2.a
-       dosym lablgtk2/liblablgtksourceview2.a \
+       use sourceview && \
+               dosym lablgtk2/liblablgtksourceview2.a \
                /usr/$(get_libdir)/ocaml/liblablgtksourceview2.a
 
        if use examples; then

Reply via email to