diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-03 07:08:06 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-03 07:08:06 +0000 |
commit | b0b42e74bf24217683a1e9af45deda7f66b417b0 (patch) | |
tree | 422eac932eb9716763518991d31c4efe555fcd3d /mail/qpopper | |
parent | 77072d02124dce44eb0465a68982aede5c0fe250 (diff) | |
download | ports-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/Makefile | 8 |
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: |