devel/libgit2: add THREADS option and make it default
PR: 196662 Submitted by: rm
This commit is contained in:
parent
19ad86de44
commit
5b539370fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377075
1 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= libgit2
|
||||
PORTVERSION= 0.21.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
|
@ -20,13 +21,15 @@ USE_OPENSSL= yes
|
|||
|
||||
PLIST_SUB= SHLIB_VER=${PORTVERSION:R:E}
|
||||
|
||||
OPTIONS_DEFINE= SSH
|
||||
OPTIONS_DEFAULT=SSH
|
||||
OPTIONS_DEFINE= SSH THREADS
|
||||
OPTIONS_DEFAULT=SSH THREADS
|
||||
SSH_DESC= Enable SSH support through libssh2
|
||||
|
||||
SSH_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
|
||||
SSH_CMAKE_ON= -DUSE_SSH=ON
|
||||
SSH_CMAKE_OFF= -DUSE_SSH=OFF
|
||||
THREADS_CMAKE_ON= -DTHREADSAFE=ON
|
||||
THREADS_CMAKE_OFF= -DTHREADSAFE=OFF
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
Loading…
Reference in a new issue