pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mail/neomutt install-phase error on chgrp mail mutt_dotlock



On 11/14, J. Lewis Muir wrote:
> Another possible fix might be to set the DOTLOCK_GROUP make variable to
> the group of the pbulk user (e.g., pbulk), but I haven't tried that to
> know if it would actually work.

The below patch against pkgsrc-2016Q3 makes the package build
successfully with pbulk.  It sets the DOTLOCK_GROUP variable to be
empty.  The Makefile target checks that DOTLOCK_GROUP is not empty
before doing the chgrp, and since it is empty, the target does not
do the chgrp, and hence the install phase succeeds.  I haven't tried
installing the package, but it looks correct (i.e., it includes
bin/mutt_dotlock and +INSTALL contains "PERMS: bin/mutt_dotlock 2551
root mail").

Thanks,

Lewis

diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index ac9e9d0..e9bca9f 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -24,7 +24,7 @@ EGDIR=			${PREFIX}/share/examples/mutt
 CONF_FILES=		${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
 CONF_FILES+=		${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
 INSTALLATION_DIRS+=     ${DOCDIR} ${EGDIR}
-INSTALL_MAKE_FLAGS=     ${MAKE_FLAGS} sysconfdir=${EGDIR}
+INSTALL_MAKE_FLAGS=     ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR}
 
 .include "../../mk/bsd.prefs.mk"
 


Home | Main Index | Thread Index | Old Index