summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-10-18 23:11:59 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-10-18 23:19:24 +0200
commit3ae024ce4a31cc63c0df3ba55e756129dc8d65d8 (patch)
tree9a74627d86defeb5b3ba30e0909dfdb2b5b46ed9 /net-misc/unison
parentapp-editors/xemacs: Let compiler driver handle LDFLAGS (diff)
downloadgentoo-3ae024ce4a31cc63c0df3ba55e756129dc8d65d8.tar.gz
gentoo-3ae024ce4a31cc63c0df3ba55e756129dc8d65d8.tar.bz2
gentoo-3ae024ce4a31cc63c0df3ba55e756129dc8d65d8.zip
net-misc/unison: for USE=gui install unison-gui exe as unison
Closes: https://bugs.gentoo.org/941780 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/unison')
-rw-r--r--net-misc/unison/unison-2.53.5-r2.ebuild (renamed from net-misc/unison/unison-2.53.5-r1.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/unison/unison-2.53.5-r1.ebuild b/net-misc/unison/unison-2.53.5-r2.ebuild
index 778fdbd73f62..3f72ec9dd476 100644
--- a/net-misc/unison/unison-2.53.5-r1.ebuild
+++ b/net-misc/unison/unison-2.53.5-r2.ebuild
@@ -96,18 +96,21 @@ src_install() {
cd "${S}/src" || die
local -a bins=(
- unison
unison-fsmonitor
)
+ # Unison GUI is a CLI + GTK GUI in one binary, no need to install both,
+ # see bug https://bugs.gentoo.org/941780
if use gui ; then
bins+=( unison-gui )
+ else
+ bins+=( unison )
fi
local binname
for binname in "${bins[@]}" ; do
exeinto /usr/bin
- newexe "${binname}" "${binname}-${SLOT}"
+ newexe "${binname}" "${binname/-gui/}-${SLOT}"
done
cd "${S}" || die