From bb919372bc35394f77f96f7f12b6b41f5e4db2e9 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 24 Nov 2020 17:02:14 +0100 Subject: app-editors/emacs: Test for existence of movemail. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 69c62ad248ca78ed2bb1833cae1ac20f63e9a0be Closes: https://bugs.gentoo.org/756352 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Ulrich Müller --- app-editors/emacs/emacs-28.0.9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app-editors/emacs/emacs-28.0.9999.ebuild') diff --git a/app-editors/emacs/emacs-28.0.9999.ebuild b/app-editors/emacs/emacs-28.0.9999.ebuild index 092c0181e57b..79d4c689e4b0 100644 --- a/app-editors/emacs/emacs-28.0.9999.ebuild +++ b/app-editors/emacs/emacs-28.0.9999.ebuild @@ -310,8 +310,10 @@ src_install() { docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig # movemail must be setgid mail - fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail - fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail + if [[ -f ${ED}/usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail ]]; then + fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail + fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail + fi # avoid collision between slots, see bug #169033 e.g. rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el -- cgit v1.2.3-65-gdbad