summaryrefslogtreecommitdiff
path: root/mail/tpop3d/Makefile
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-11-01 10:45:37 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-11-01 10:45:37 +0000
commitf5ebbc7ea5c985fa94525b315b73fd2f0f24fe3f (patch)
tree37a96c6282d6f9ed90becff6d8cd6b6639350a4e /mail/tpop3d/Makefile
parentFix build on 4-STABLE. Sorry. (diff)
use REINPLACE instead of perl to fix build on 5.x
Submitted by: maintainer Noticed by: bento via kris
Notes
Notes: svn path=/head/; revision=92772
Diffstat (limited to '')
-rw-r--r--mail/tpop3d/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index 44230c87b293..fedb0cdc9c4f 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= http://www.ex-parrot.com/~chris/tpop3d/
MAINTAINER= chris@shagged.org
COMMENT= Virtual-domain capable POP3 server supporting MySQL auth
+USE_REINPLACE= yes
+
# mysql authentication
.if !defined(WITHOUT_MYSQL)
USE_MYSQL= yes
@@ -54,9 +56,9 @@ MAN5= tpop3d.conf.5
MAN8= tpop3d.8
post-patch:
- @${PERL} -pi -e 's,^CFLAGS =, CFLAGS = \@CFLAGS\@,' \
+ @${REINPLACE_CMD} 's,^CFLAGS =, CFLAGS = \@CFLAGS\@,' \
${WRKSRC}/Makefile.in
- @${PERL} -pi -e 's,/etc/tpop3d,${PREFIX}/etc/tpop3d,g' \
+ @${REINPLACE_CMD} 's,/etc/tpop3d,${PREFIX}/etc/tpop3d,g' \
${WRKSRC}/tpop3d.conf.5 ${WRKSRC}/tpop3d.8
post-install: