summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2017-07-31 05:13:49 +0000
committerjnemeth <jnemeth@pkgsrc.org>2017-07-31 05:13:49 +0000
commit72a5483ca3b3456653762e0d4f4eecb830effec7 (patch)
tree2565bad3def22418ac8ed6b063f61ea37e4d2043 /mail/cyrus-imapd24
parent3fab437a20bfd769343107ac808533df264854cf (diff)
downloadpkgsrc-72a5483ca3b3456653762e0d4f4eecb830effec7.tar.gz
Fix up the path to /bin/sh in cyradm script. The damage happens
during the build stage, so can't use a simple REPLACE_SH. This is a build problem that likely is only detected when PKG_DEVELOPER=YES so bump PKGREVISION anyways.
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index e82189cb85e..7038b66045b 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2017/04/22 21:03:41 adam Exp $
+# $NetBSD: Makefile,v 1.51 2017/07/31 05:13:49 jnemeth Exp $
DISTNAME= cyrus-imapd-2.4.18
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://cyrusimap.org/releases/
MASTER_SITES+= ftp://ftp.cyrusimap.org/cyrus-imapd/
@@ -66,6 +66,11 @@ FILES_SUBST+= IMAPDCONF=${PKG_SYSCONFDIR}/imapd.conf
REPLACE_PERL+= tools/rehash
+SUBST_CLASSES+= sh
+SUBST_STAGE.sh= post-build
+SUBST_FILES.sh= perl/imap/blib/script/cyradm
+SUBST_SED.sh+= -e 's|^\#!.*|\#!/bin/sh|'
+
PERL5_PACKLIST= \
auto/Cyrus/IMAP/.packlist \
auto/Cyrus/SIEVE/managesieve/.packlist