aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2015-01-15 19:01:25 +0800
committerwg <wg@FreeBSD.org>2015-01-15 19:01:25 +0800
commit5d818354540131a2caeb42db809610fd4653f1aa (patch)
treef3a091aa686fa4a2e1450f3b327b276657b10935 /devel
parent479f4068c7bedbe1049bfe05f6b338ec1198704a (diff)
downloadfreebsd-ports-gnome-5d818354540131a2caeb42db809610fd4653f1aa.tar.gz
freebsd-ports-gnome-5d818354540131a2caeb42db809610fd4653f1aa.tar.zst
freebsd-ports-gnome-5d818354540131a2caeb42db809610fd4653f1aa.zip
devel/libgit2: add THREADS option and make it default
PR: 196662 Submitted by: rm
Diffstat (limited to 'devel')
-rw-r--r--devel/libgit2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 6a1a226ca992..c9de2d7ae242 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -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>