aboutsummaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:08:06 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:08:06 +0000
commitb0b42e74bf24217683a1e9af45deda7f66b417b0 (patch)
tree422eac932eb9716763518991d31c4efe555fcd3d /mail/qpopper
parent77072d02124dce44eb0465a68982aede5c0fe250 (diff)
downloadports-b0b42e74bf24217683a1e9af45deda7f66b417b0.tar.gz
ports-b0b42e74bf24217683a1e9af45deda7f66b417b0.zip
Deploy USE_REINPLACE
Submitted by: marius@alchemy.franken.de
Notes
Notes: svn path=/head/; revision=69329
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 1b8f0902f820..da3b132f4072 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -23,6 +23,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= lioux@FreeBSD.org
USE_AUTOCONF= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-lmd -lutil -L${LOCALBASE}/lib" \
OS_DEFS="-DSETPROCTITLE ${OS_DEFS}"
@@ -149,13 +150,14 @@ RSAGLUE+= -lRSAglue
post-patch:
@${RM} -f ${WRKSRC}/popper/md5.h
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/man/*
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/man/*
.if defined(WITH_POPPASSD)
- @${PERL} -pi -ne "s|/usr/bin/smbpasswd|${LOCALBASE}/bin/smbpasswd|" \
+ @${REINPLACE_CMD} -e 's|/usr/bin/smbpasswd|${LOCALBASE}/bin/smbpasswd|' \
${WRKSRC}/password/poppassd.c
.endif
.if defined(WITHOUT_U_OPTION)
- @${PERL} -pi -e 's|(getopt \(.+?)u|\1|' ${WRKSRC}/popper/main.c
+ @${REINPLACE_CMD} -E -e 's|(getopt \(.+)u|\1|' \
+ ${WRKSRC}/popper/main.c
.endif
pre-configure: