1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

use REINPLACE instead of perl to fix build on 5.x

Submitted by:	maintainer
Noticed by:	bento via kris
This commit is contained in:
Erwin Lansing 2003-11-01 10:45:37 +00:00
parent bbb20a49f4
commit f5ebbc7ea5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92772

View File

@ -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: