aboutsummaryrefslogtreecommitdiff
path: root/ftp/lftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/lftp/Makefile')
-rw-r--r--ftp/lftp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index c6170d9ef039..5f048084c984 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= lftp.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install: