aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-03-09 07:16:42 +0800
committerrakuco <rakuco@FreeBSD.org>2014-03-09 07:16:42 +0800
commit1fe27e6224ad1418aa3fbcfd9200c6b8b0b80f0b (patch)
treec522aa39a0ff24b5fee91f9f9050b81b400734d6
parent51268f6b1a8399a5641aea47b96843c6ba7eee0a (diff)
downloadfreebsd-ports-gnome-1fe27e6224ad1418aa3fbcfd9200c6b8b0b80f0b.tar.gz
freebsd-ports-gnome-1fe27e6224ad1418aa3fbcfd9200c6b8b0b80f0b.tar.zst
freebsd-ports-gnome-1fe27e6224ad1418aa3fbcfd9200c6b8b0b80f0b.zip
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
-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.")