Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2020 02:16:30 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r537587 - head/mail/dovecot
Message-ID:  <202006030216.0532GUA3058627@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Wed Jun  3 02:16:30 2020
New Revision: 537587
URL: https://svnweb.freebsd.org/changeset/ports/537587

Log:
  mail/dovecot: restore the REINPLACE_CMD for the example config.
  
  Overzealous removal.
  
  PR:		246947
  Submitted by:	gwbr0601@yahoo.de
  Pointy Hat To:	ler

Modified:
  head/mail/dovecot/Makefile

Modified: head/mail/dovecot/Makefile
==============================================================================
--- head/mail/dovecot/Makefile	Wed Jun  3 00:11:26 2020	(r537586)
+++ head/mail/dovecot/Makefile	Wed Jun  3 02:16:30 2020	(r537587)
@@ -9,6 +9,7 @@
 
 PORTNAME=	dovecot
 PORTVERSION=	2.3.10.1
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 
@@ -133,6 +134,9 @@ 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/*
 	@${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?202006030216.0532GUA3058627>