summaryrefslogtreecommitdiff
path: root/devel/cmake
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-03-08 23:16:42 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-03-08 23:16:42 +0000
commite5e2a1be3c54ff21cebab0bcbd95bff0c15550ef (patch)
treec522aa39a0ff24b5fee91f9f9050b81b400734d6 /devel/cmake
parentUpdate to version 3.4.6 (diff)
Enable use of OpenSSL in the bundled copy of libcurl.
The default is off, which makes calls such as FILE(DOWNLOAD ...) from HTTPS locations fail. PR: ports/187374 MFH: 2014Q1
Notes
Notes: svn path=/head/; revision=347541
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile2
-rw-r--r--devel/cmake/files/InitialCache.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index e55c9fe4f3df..6b3d421825b2 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cmake
PORTVERSION= 2.8.12.1
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= devel
MASTER_SITES= http://downloads.cmake.org/files/v2.8/
diff --git a/devel/cmake/files/InitialCache.cmake b/devel/cmake/files/InitialCache.cmake
index de214871c9e4..b64391a9d82e 100644
--- a/devel/cmake/files/InitialCache.cmake
+++ b/devel/cmake/files/InitialCache.cmake
@@ -4,3 +4,7 @@
# devel/qt4-corelib is not).
# See https://mail.kde.org/pipermail/kde-freebsd/2013-July/015703.html
set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
+
+# Explicitly enable use of OpenSSL in the bundled copy of libcurl, as it
+# defaults to off. See ports/187374.
+set(CMAKE_USE_OPENSSL ON CACHE BOOL "Use OpenSSL code with curl.")