pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd24 Fix up the path to /bin/sh in cyrad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a096969eb429
branches:  trunk
changeset: 365948:a096969eb429
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Mon Jul 31 05:13:49 2017 +0000

description:
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:

 mail/cyrus-imapd24/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 051edcec07f6 -r a096969eb429 mail/cyrus-imapd24/Makefile
--- a/mail/cyrus-imapd24/Makefile       Mon Jul 31 04:55:26 2017 +0000
+++ b/mail/cyrus-imapd24/Makefile       Mon Jul 31 05:13:49 2017 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index