aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 10:18:21 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 10:18:21 +0800
commitae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (patch)
treef0efb79e0c88be76c10e56726918e912cd25d55e /ftp
parentf05d483448ee76fcaf403ea38e32d322986c8073 (diff)
downloadfreebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.gz
freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.zst
freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'ftp')
-rw-r--r--ftp/lukemftpd/Makefile5
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