aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/ftpq/Makefile')
-rw-r--r--ftp/ftpq/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftp/ftpq/Makefile b/ftp/ftpq/Makefile
index f85ce20ec503..60659206aa15 100644
--- a/ftp/ftpq/Makefile
+++ b/ftp/ftpq/Makefile
@@ -14,6 +14,7 @@ MASTER_SITES= http://www.tranchant.freeserve.co.uk/software/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= ftpq.1
@@ -23,7 +24,7 @@ PLIST_SUB+= SPOOLDIR=${SPOOLDIR}
SPOOLDIR?= /var/spool/ftpq
post-patch:
- @ ${PERL} -pi -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \
+ @ ${REINPLACE_CMD} -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/ftpq.h
post-install: