summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-11-24 17:02:14 +0100
committerUlrich Müller <ulm@gentoo.org>2020-11-24 17:06:25 +0100
commitbb919372bc35394f77f96f7f12b6b41f5e4db2e9 (patch)
tree39078a89216f2eaea147d6a923590356c3357db5 /app-editors/emacs/emacs-28.0.9999.ebuild
parentdev-libs/dbus-glib: backport pkg-config fix for glib-genmarshal (diff)
downloadgentoo-bb919372bc35394f77f96f7f12b6b41f5e4db2e9.tar.gz
gentoo-bb919372bc35394f77f96f7f12b6b41f5e4db2e9.tar.bz2
gentoo-bb919372bc35394f77f96f7f12b6b41f5e4db2e9.zip
app-editors/emacs: Test for existence of movemail.
Fixes: 69c62ad248ca78ed2bb1833cae1ac20f63e9a0be Closes: https://bugs.gentoo.org/756352 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-28.0.9999.ebuild')
-rw-r--r--app-editors/emacs/emacs-28.0.9999.ebuild6
1 files changed, 4 insertions, 2 deletions
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