summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-12-04 20:15:13 -0500
committerBrian Evans <grknight@gentoo.org>2022-12-04 20:17:56 -0500
commit9f935df73f0c4b05c1fde306368ce773eb06e7d2 (patch)
treeef3c0c6e38b28a302d9236ff13b70243b9575a01 /mail-client/s-nail
parentsys-apps/grep: install silent egrep+fgrep by default (diff)
downloadgentoo-9f935df73f0c4b05c1fde306368ce773eb06e7d2.tar.gz
gentoo-9f935df73f0c4b05c1fde306368ce773eb06e7d2.tar.bz2
gentoo-9f935df73f0c4b05c1fde306368ce773eb06e7d2.zip
mail-client/s-nail: Fix split-usr error
Skip duplicated symlink Closes: https://bugs.gentoo.org/884365 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'mail-client/s-nail')
-rw-r--r--mail-client/s-nail/s-nail-14.9.24.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail-client/s-nail/s-nail-14.9.24.ebuild b/mail-client/s-nail/s-nail-14.9.24.ebuild
index bcd89a795767..6d95aeba874e 100644
--- a/mail-client/s-nail/s-nail-14.9.24.ebuild
+++ b/mail-client/s-nail/s-nail-14.9.24.ebuild
@@ -12,7 +12,7 @@ LICENSE="BSD BSD-4 ISC RSA"
SRC_URI="https://ftp.sdaoden.eu/${P}.tar.xz"
SLOT="0"
KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE="idn kerberos net ssl"
+IUSE="idn kerberos net +split-usr ssl"
RDEPEND="
sys-libs/ncurses:0=
@@ -81,8 +81,10 @@ src_install() {
dodoc INSTALL NEWS README THANKS
- dodir /bin
- dosym ../usr/bin/mailx /bin/mail
+ if use split-usr ; then
+ dodir /bin
+ dosym ../usr/bin/mailx /bin/mail
+ fi
dosym s-nail /usr/bin/mailx
dosym mailx /usr/bin/mail
dosym mailx /usr/bin/Mail