* [gentoo-commits] gentoo-x86 commit in app-misc/task/files: task-2.3.0-gnutls-automagic.patch
@ 2014-11-28 18:00 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2014-11-28 18:00 UTC (permalink / raw
To: gentoo-commits
radhermit 14/11/28 18:00:46
Added: task-2.3.0-gnutls-automagic.patch
Log:
Fix automagic gnutls support (bug #522230).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 app-misc/task/files/task-2.3.0-gnutls-automagic.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/task/files/task-2.3.0-gnutls-automagic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/task/files/task-2.3.0-gnutls-automagic.patch?rev=1.1&content-type=text/plain
Index: task-2.3.0-gnutls-automagic.patch
===================================================================
--- task-2.3.0/CMakeLists.txt
+++ task-2.3.0/CMakeLists.txt
@@ -9,6 +9,8 @@
project (task)
set (PROJECT_VERSION "2.3.0")
+OPTION(USE_GNUTLS "Build gnutls support." ON)
+
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (LINUX true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
@@ -59,13 +61,15 @@
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
-message ("-- Looking for GnuTLS")
-find_package (GnuTLS)
-if (GNUTLS_FOUND)
- set (HAVE_LIBGNUTLS true)
- set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${GNUTLS_INCLUDE_DIR})
- set (TASK_LIBRARIES ${TASK_LIBRARIES} ${GNUTLS_LIBRARIES})
-endif (GNUTLS_FOUND)
+if (USE_GNUTLS)
+ message ("-- Looking for GnuTLS")
+ find_package (GnuTLS)
+ if (GNUTLS_FOUND)
+ set (HAVE_LIBGNUTLS true)
+ set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${GNUTLS_INCLUDE_DIR})
+ set (TASK_LIBRARIES ${TASK_LIBRARIES} ${GNUTLS_LIBRARIES})
+ endif (GNUTLS_FOUND)
+endif (USE_GNUTLS)
#message ("-- Looking for pthread")
#find_path (PTHREAD_INCLUDE_DIR pthread.h)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-28 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 18:00 [gentoo-commits] gentoo-x86 commit in app-misc/task/files: task-2.3.0-gnutls-automagic.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox