aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq-devel
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-02-07 15:47:55 +0800
committerdinoex <dinoex@FreeBSD.org>2002-02-07 15:47:55 +0800
commite9ddf0d162117d31cf6a6fa7b76878eb2326ebe6 (patch)
tree6b23c8193e0ae10bf09b62bcf8e77eb7bba56971 /net/licq-devel
parent029031bbe9b49c3c75f690630f3e204329e8e59d (diff)
downloadfreebsd-ports-gnome-e9ddf0d162117d31cf6a6fa7b76878eb2326ebe6.tar.gz
freebsd-ports-gnome-e9ddf0d162117d31cf6a6fa7b76878eb2326ebe6.tar.zst
freebsd-ports-gnome-e9ddf0d162117d31cf6a6fa7b76878eb2326ebe6.zip
Apply patch adds -DWITH_DANTE (should be specified with -DWITH_SOCKS).
Submitted by: fjoe
Diffstat (limited to 'net/licq-devel')
-rw-r--r--net/licq-devel/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/licq-devel/Makefile b/net/licq-devel/Makefile
index 77bc7dd73c3e..5e9e1d290c6c 100644
--- a/net/licq-devel/Makefile
+++ b/net/licq-devel/Makefile
@@ -15,13 +15,21 @@ PKGNAMESUFFIX= -socks
MAINTAINER= dinoex@FreeBSD.org
.if defined(WITH_SOCKS)
+.if defined(WITH_DANTE)
+LIB_DEPENDS= socks.1:${PORTSDIR}/net/dante
+.else
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
+.endif
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+=--enable-socks5
+.if defined(WITH_DANTE)
+CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
+CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
+.endif
.endif
post-patch: