summaryrefslogtreecommitdiffstats
path: root/ftp/mget
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
committerijliao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
commitc892af1780b67e6fdabc7f4945bcad3d9e29571d (patch)
tree8a9971c8edf6533234e79b9a5cc3a411a279b46f /ftp/mget
parent37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd (diff)
downloadFreeBSD-ports-c892af1780b67e6fdabc7f4945bcad3d9e29571d.zip
FreeBSD-ports-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.gz
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39594 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'ftp/mget')
-rw-r--r--ftp/mget/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftp/mget/Makefile b/ftp/mget/Makefile
index ed66424..e126dd1 100644
--- a/ftp/mget/Makefile
+++ b/ftp/mget/Makefile
@@ -19,8 +19,10 @@ CFLAGS+= -DHAS_HERROR -DHAVE_GETOPT_LONG -DHAVE_INET_NTOP -DHAVE_IPV6 \
-I${LOCALBASE}/include ${PTHREAD_CFLAGS:S/"//g}
LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS:S/"//g}
+USE_REINPLACE= yes
+
pre-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
's|#include <malloc.h>||g'
do-build:
OpenPOWER on IntegriCloud