summaryrefslogtreecommitdiff
path: root/ftp/oftpd
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2003-01-23 21:03:14 +0000
committerAnders Nordby <anders@FreeBSD.org>2003-01-23 21:03:14 +0000
commit43a2fe364641ff77603fff0bdefe29790123e154 (patch)
tree39d147b686d9e60c1a42abb6443672578f353f37 /ftp/oftpd
parentUpdate to 2.4 pre5 (diff)
Use USE_REINPLACE & REINPLACE_CMD instead of PERL.
Requested by: Ulrich Spoerlein <q@uni.de>
Notes
Notes: svn path=/head/; revision=73881
Diffstat (limited to 'ftp/oftpd')
-rw-r--r--ftp/oftpd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftp/oftpd/Makefile b/ftp/oftpd/Makefile
index 11f302199b22..2e017c8fc7eb 100644
--- a/ftp/oftpd/Makefile
+++ b/ftp/oftpd/Makefile
@@ -15,6 +15,7 @@ MASTER_SITES= http://www.time-travellers.org/oftpd/ \
MAINTAINER= anders@FreeBSD.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
DOCFILES= README AUTHORS ChangeLog NEWS TODO BUGS
@@ -25,7 +26,7 @@ MAN8= oftpd.8
post-patch:
.if defined(MAX_NUM_CLIENTS)
- @${PERL} -pi -e "s,MAX_NUM_CLIENTS 300,MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}," ${WRKSRC}/src/oftpd.h
+ ${REINPLACE_CMD} -e "s@MAX_NUM_CLIENTS 300@MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}@" ${WRKSRC}/src/oftpd.h
.endif
do-install: