From 8be83f9c42c312ede055c39e34bf65ac7bc8d2df Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 1 Jan 2006 13:28:02 +0000 Subject: When the mailpath is group-writable and not world-writable, the configure script sets bin/mutt_dotlock to install setgid mail. Interix installs the mail spool directory group writable and not world-writable, however the group is +Administrators. Interix does not install a group named mail, which causes the mutt install to fail. Fix this by replacing group mail with group +Administrators. --- mail/mutt/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 69df3d07aa2..e0d908a67af 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.132 2005/12/29 06:21:51 jlam Exp $ +# $NetBSD: Makefile,v 1.133 2006/01/01 13:28:02 ben Exp $ DISTNAME= mutt-1.4.2.1i PKGNAME= ${DISTNAME:C/i$//} @@ -37,6 +37,14 @@ CONFIGURE_ARGS+= --without-wc-funcs CONFIGURE_ENV+= ac_cv_header_inttypes_h=no .endif +.if ${OPSYS} == "Interix" +SUBST_CLASSES+= mgroup +SUBST_MESSAGE.mgroup= "Configuring mail group." +SUBST_STAGE.mgroup= post-patch +SUBST_FILES.mgroup= configure +SUBST_SED.mgroup= -e "s,DOTLOCK_GROUP='mail',DOTLOCK_GROUP='+Administrators'," +.endif + # There is a problem using /bin/sh on old NetBSD releases, so use /bin/ksh # there. # -- cgit v1.2.3