From 900d217f2adc9f7f426a071d1cd69396aee2b4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20B=C3=B6ck?= Date: Fri, 12 Apr 2024 09:38:23 +0200 Subject: [PATCH] mail-mta/courier: Don't symlink sendmail on merge-usr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/928079 Signed-off-by: Hanno Böck --- mail-mta/courier/courier-1.3.5.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mail-mta/courier/courier-1.3.5.ebuild b/mail-mta/courier/courier-1.3.5.ebuild index 89f704baf1d28..14b510207a1a6 100644 --- a/mail-mta/courier/courier-1.3.5.ebuild +++ b/mail-mta/courier/courier-1.3.5.ebuild @@ -13,7 +13,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite \ - fam web webmail gnutls" + fam web webmail gnutls split-usr" DEPEND=" >=net-libs/courier-authlib-0.72.1 @@ -232,7 +232,9 @@ src_install() { # users should be able to send mail. Could be restricted with suictl. chmod u+s "${D}/usr/bin/sendmail" - dosym ../bin/sendmail /usr/sbin/sendmail + if use split-usr; then + dosym ../bin/sendmail /usr/sbin/sendmail + fi } src_test() {