summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-20 11:17:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-20 11:17:39 +0000
commitbe7443e26ea2bb9b7062866e852a6b2c2eeaed74 (patch)
tree8d6d8fc7707be59d28b012743fe2b28760912925 /ftp
parentHonour threads. (diff)
Implement net/dante and net/socks5 support.
Notes
Notes: svn path=/head/; revision=129357
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pavuk/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 7ee3fbd781fe..39ca54a5ff9b 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -48,6 +48,18 @@ CONFIGURE_ARGS+= --with-gtk-config="${GTK_CONFIG}"
CONFIGURE_ARGS+= --disable-gtk
.endif
+.if defined(WITH_DANTE)
+LIB_DEPENDS+= socks.1:${PORTSDIR}/net/dante
+CONFIGURE_ARGS+= --with-socks-includes=${LOCALBASE}/include \
+ --with-socks-libraries=${LOCALBASE}/lib
+.elif defined(WITH_SOCKS5)
+BUILD_DEPENDS+=${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
+CONFIGURE_ARGS+= --with-socks-includes=${LOCALBASE}/include \
+ --with-socks-libraries=${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+= --disable-socks
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e \
's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \