From 4dfb81e584e8ceedea40cd9c56cd840e544c570d Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Thu, 7 Feb 2002 07:47:55 +0000 Subject: [PATCH] Apply patch adds -DWITH_DANTE (should be specified with -DWITH_SOCKS). Submitted by: fjoe --- net-im/licq/Makefile | 8 ++++++++ net/licq-devel/Makefile | 8 ++++++++ net/licq/Makefile | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index 77bc7dd73c3e..5e9e1d290c6c 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/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: 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: diff --git a/net/licq/Makefile b/net/licq/Makefile index 77bc7dd73c3e..5e9e1d290c6c 100644 --- a/net/licq/Makefile +++ b/net/licq/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: