diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:18:21 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:18:21 +0000 |
commit | a6429924fc57a145369eb5b2d3d0f45c65656b19 (patch) | |
tree | a7703a1b06cbba057e160e6f7af6e66d74cfc940 /ftp | |
parent | PERL -> REINPLACE, Add USE_PERL5=yes too (diff) |
PERL -> REINPLACE
Noticed on: bento
Notes
Notes:
svn path=/head/; revision=69423
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/lukemftpd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ftp/lukemftpd/Makefile b/ftp/lukemftpd/Makefile index 2178553bf134..7f94c49a8a48 100644 --- a/ftp/lukemftpd/Makefile +++ b/ftp/lukemftpd/Makefile @@ -14,6 +14,7 @@ MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/ \ MAINTAINER= debolaz@debolaz.com +USE_REINPLACE= yes GNU_CONFIGURE= yes DOCS= ChangeLog README THANKS @@ -25,7 +26,7 @@ FIXPREFIX= ftpd.8 ftpd.conf.5 ftpusers.5 pre-patch: .for f in ${FIXPREFIX} - ${PERL} -pi -e "s@^\.Dq Pa /etc@.Dq Pa ${PREFIX}/etc@g; \ + ${REINPLACE_CMD} -e "s@^\.Dq Pa /etc@.Dq Pa ${PREFIX}/etc@g; \ s@^\.Pa /etc@.Pa ${PREFIX}/etc@g; \ s@^\.It Pa /etc/@.It Pa ${PREFIX}/etc/@g; \ s@^\.Ss /etc/@.Ss ${PREFIX}/etc/@g; \ @@ -35,7 +36,7 @@ pre-patch: s@${PREFIX}/etc/pwd.db@/etc/pwd.db@g" \ ${WRKSRC}/src/${f} .endfor - ${PERL} -pi -e \ + ${REINPLACE_CMD} -e \ "s@^#define\t_DEFAULT_CONFDIR\t\"/etc\"@#define\t_DEFAULT_CONFDIR\t\"${PREFIX}/etc\"@" \ ${WRKSRC}/src/pathnames.h |