aboutsummaryrefslogtreecommitdiff
path: root/ftp/mget
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 16:13:17 +0000
commit930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed (patch)
treec49bac1d3dc0d53bf8493e58c274d95059a66bbd /ftp/mget
parent01c4a820a3a20a4551e47f92722429043fb63e6a (diff)
downloadports-930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed.tar.gz
ports-930e3a6637bf9a7c5fdb4f16ff8c39903da8c1ed.zip
Notes
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 ed664243abe5..e126dd1db1c3 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: