summaryrefslogtreecommitdiff
path: root/irc/xchat-gnome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat-gnome/Makefile')
-rw-r--r--irc/xchat-gnome/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/irc/xchat-gnome/Makefile b/irc/xchat-gnome/Makefile
index 7b0a2047c419..056c5cd088be 100644
--- a/irc/xchat-gnome/Makefile
+++ b/irc/xchat-gnome/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)