devel/libgit2: add THREADS option and make it default

PR:		196662
Submitted by:	rm
This commit is contained in:
William Grzybowski 2015-01-15 11:01:25 +00:00
parent 19ad86de44
commit 5b539370fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377075

View file

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