aboutsummaryrefslogtreecommitdiff
path: root/ftp
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
parent637a804348ca2c0ad5c976d1454fb256d1f97c7b (diff)
downloadports-43a2fe364641ff77603fff0bdefe29790123e154.tar.gz
ports-43a2fe364641ff77603fff0bdefe29790123e154.zip
Notes
Diffstat (limited to 'ftp')
-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: