summaryrefslogtreecommitdiff
path: root/mail
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
commit5c34ba7d972258abde6ddc5de4cd3cad559338f0 (patch)
tree3b3a1b795cd3ba6086f1aa045f04bda5136ecfa8 /mail
parent0ed18d54e522fb7d06f4e84b07975d5e317287b8 (diff)
downloadpkgsrc-5c34ba7d972258abde6ddc5de4cd3cad559338f0.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')
-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