Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2020 15:29:20 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r537905 - branches/2020Q2/mail/dovecot
Message-ID:  <202006041529.054FTKND073263@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Thu Jun  4 15:29:20 2020
New Revision: 537905
URL: https://svnweb.freebsd.org/changeset/ports/537905

Log:
  MFH: r537587 r537837
  
  mail/dovecot: restore the REINPLACE_CMD for the example config.
  
  Overzealous removal.
  
  PR:		246947
  Submitted by:	gwbr0601@yahoo.de
  Pointy Hat To:	ler
  
  mail/dovecot: fix example config *.conf.ext REINPLACE missed in r537587.
  
  PR:		246963
  Submitted by:	kfv@irbug.org
  
  Approved by:	ports-secteam (joneum)

Modified:
  branches/2020Q2/mail/dovecot/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/mail/dovecot/Makefile
==============================================================================
--- branches/2020Q2/mail/dovecot/Makefile	Thu Jun  4 15:26:25 2020	(r537904)
+++ branches/2020Q2/mail/dovecot/Makefile	Thu Jun  4 15:29:20 2020	(r537905)
@@ -9,6 +9,7 @@
 
 PORTNAME=	dovecot
 PORTVERSION=	2.3.10.1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 
@@ -133,6 +134,10 @@ CPPFLAGS+=	-I${LOCALBASE}/include -I${OPENSSLINC}
 LDFLAGS+=	-L${LOCALBASE}/lib -L${OPENSSLLIB}
 
 post-patch:
+	@${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \
+		s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
+		${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/* \
+		${WRKSRC}/doc/example-config/*.conf.ext
 	@${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
 		${WRKSRC}/src/lib-mail/Makefile.in
 # Install the sample config files into ETCDIR/example-config/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006041529.054FTKND073263>