summaryrefslogtreecommitdiff
path: root/irc/xchat
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-04-14 18:18:37 +0000
committerJim Mock <jim@FreeBSD.org>2000-04-14 18:18:37 +0000
commit0b32dc9e2b85d4246df8d4412f1d79283e622aff (patch)
treec8e4c948043ecf634854dee5ed2c51ea61edc97b /irc/xchat
parentPortlint COMMENT's. (diff)
Add SOCKS support.
Submitted by: dburr
Diffstat (limited to 'irc/xchat')
-rw-r--r--irc/xchat/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index 7b0a2047c419..056c5cd088be 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -13,6 +13,9 @@ MASTER_SITES= http://xchat.org/files/source/1.4/ \
MAINTAINER= jim@FreeBSD.org
+.if defined(USE_SOCKS)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
+.endif
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
.if defined(USE_GNOME)
@@ -29,6 +32,10 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --disable-python
+.if defined(USE_SOCKS)
+CONFIGURE_ARGS+= --enable-socks
+.endif
+
.if defined(USE_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.if defined(USE_PANEL)