svn commit: r537587 - head/mail/dovecot

Larry Rosenman ler at FreeBSD.org
Wed Jun 3 02:16:31 UTC 2020


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 at 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/


More information about the svn-ports-head mailing list