commit: 900d217f2adc9f7f426a071d1cd69396aee2b4ec Author: Hanno Böck <hanno <AT> gentoo <DOT> org> AuthorDate: Fri Apr 12 07:38:23 2024 +0000 Commit: Hanno Böck <hanno <AT> gentoo <DOT> org> CommitDate: Fri Apr 12 07:38:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=900d217f
mail-mta/courier: Don't symlink sendmail on merge-usr Closes: https://bugs.gentoo.org/928079 Signed-off-by: Hanno Böck <hanno <AT> gentoo.org> 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 89f704baf1d2..14b510207a1a 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() {
