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:
parent
845950814a
commit
4dfb81e584
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54295
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user