commit:     2781f8401f9b8d9277a780eb876df09b23f3dca5
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 10:33:46 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 11:39:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2781f840

x11-libs/fltk: Symlink over static binaries rather renaming shared binaries

CMake needs fluid-shared and fltk-options-shared to exist.

Closes: https://bugs.gentoo.org/966334
Closes: https://github.com/gentoo/gentoo/pull/44722
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 x11-libs/fltk/{fltk-1.4.4.ebuild => fltk-1.4.4-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-libs/fltk/fltk-1.4.4.ebuild 
b/x11-libs/fltk/fltk-1.4.4-r1.ebuild
similarity index 94%
rename from x11-libs/fltk/fltk-1.4.4.ebuild
rename to x11-libs/fltk/fltk-1.4.4-r1.ebuild
index dfa3cd41b788..92919535fc95 100644
--- a/x11-libs/fltk/fltk-1.4.4.ebuild
+++ b/x11-libs/fltk/fltk-1.4.4-r1.ebuild
@@ -115,9 +115,9 @@ src_install() {
        # currently no option to disable building static libs
        use static-libs || rm -- "${ED}"/usr/$(get_libdir)/*.a || die
 
-       # these are installed twice, overwrite the static fltk copy
-       mv -- "${ED}"/usr/bin/fluid{-shared,} || die
-       mv -- "${ED}"/usr/bin/fltk-options{-shared,} || die
+       # these are installed twice, symlink over the static fltk copy
+       dosym fluid-shared /usr/bin/fluid
+       dosym fltk-options-shared /usr/bin/fltk-options
 
        strip-lto-bytecode
 }

Reply via email to