[CalendarServer-changes] [15242] CalendarServer/trunk/bin/_build.sh

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 28 07:23:37 PDT 2015


Revision: 15242
          http://trac.calendarserver.org//changeset/15242
Author:   cdaboo at apple.com
Date:     2015-10-28 07:23:37 -0700 (Wed, 28 Oct 2015)
Log Message:
-----------
Disable libevent openssl use if openssl is not available.

Modified Paths:
--------------
    CalendarServer/trunk/bin/_build.sh

Modified: CalendarServer/trunk/bin/_build.sh
===================================================================
--- CalendarServer/trunk/bin/_build.sh	2015-10-28 13:47:26 UTC (rev 15241)
+++ CalendarServer/trunk/bin/_build.sh	2015-10-28 14:23:37 UTC (rev 15242)
@@ -577,9 +577,15 @@
     local n="libevent";
     local p="${n}-${v}";
 
+	local configure_openssl="--enable-openssl=yes";
+    if [ ${use_openssl} == "false" ]; then
+	  local configure_openssl="--enable-openssl=no";
+	fi;
+
     c_dependency -m "b2405cc9ebf264aa47ff615d9de527a2" \
       "libevent" "${p}" \
-      "http://github.com/downloads/libevent/libevent/${p}.tar.gz";
+      "http://github.com/downloads/libevent/libevent/${p}.tar.gz" \
+      ${configure_openssl};
 
     local v="1.4.20";
     local n="memcached";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151028/8fa08dc7/attachment.html>


More information about the calendarserver-changes mailing list