1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Apply patch adds -DWITH_DANTE (should be specified with -DWITH_SOCKS).

Submitted by:	fjoe
This commit is contained in:
Dirk Meyer 2002-02-07 07:47:55 +00:00
parent 845950814a
commit 4dfb81e584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54295
3 changed files with 24 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: