summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorben <ben>2006-01-01 13:28:02 +0000
committerben <ben>2006-01-01 13:28:02 +0000
commit8be83f9c42c312ede055c39e34bf65ac7bc8d2df (patch)
tree510737f7277c614477c044f479f7a86e6259e850 /mail/mutt
parent4ea3d535b73b9a8867cdae08c0906e5ab7fdd167 (diff)
downloadpkgsrc-8be83f9c42c312ede055c39e34bf65ac7bc8d2df.tar.gz
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.
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile10
1 files changed, 9 insertions, 1 deletions
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.
#