diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-05 12:51:43 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-05 12:51:43 +0000 |
commit | 21054912cfe8c4b6224499ab1a8594f3c33734ad (patch) | |
tree | 9315c118de3954236ae690e45413737e0c87e951 /mail | |
parent | C++ fixes for -CURRENT/GCC3. (diff) |
Found a way to do the strange perl-replace by a REINPLACE_CMD.
Thanks to Adam Weinberger <adamw@FreeBSD.org>
Noticed by: bento
Submitted by: Adam Weinberger <adamw@FreeBSD.org>
Notes
Notes:
svn path=/head/; revision=69525
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-imap/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 5eca4f367e0e..37225ae56b43 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= courier MAINTAINER= nbm@FreeBSD.org +USE_REINPLACE= yes USE_PERL5= yes GNU_CONFIGURE= YES USE_GMAKE= YES @@ -131,8 +132,8 @@ EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog .include <bsd.port.pre.mk> post-patch: - @${PERL} -i.nbm -pe \ - 'm#^\timapd.cnf pop3d.cnf# && s@[ip][mo][ap][p3]d.cnf@@g;' \ + @${REINPLACE_CMD} -Ee \ + '/^ imapd.cnf pop3d.cnf/s/(imapd.cnf|pop3d.cnf)//g' \ ${WRKSRC}/Makefile.in post-install: |