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

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 30 08:10:20 PDT 2014


Revision: 13052
          http://trac.calendarserver.org//changeset/13052
Author:   dre at apple.com
Date:     2014-03-30 08:10:20 -0700 (Sun, 30 Mar 2014)
Log Message:
-----------
Locally built cyrus-sasl and libffi need more help to be found at python module build time.

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

Modified: CalendarServer/trunk/bin/_build.sh
===================================================================
--- CalendarServer/trunk/bin/_build.sh	2014-03-30 14:25:53 UTC (rev 13051)
+++ CalendarServer/trunk/bin/_build.sh	2014-03-30 15:10:20 UTC (rev 13052)
@@ -505,9 +505,12 @@
       using_system "libffi";
     fi;
   else
+    local p="libffi-3.0.13"
     c_dependency -m "45f3b6dbc9ee7c7dfbbbc5feba571529" \
-      "libffi" "libffi-3.0.13" \
-      "ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz"
+      "libffi" "${p}" \
+      "ftp://sourceware.org/pub/libffi/${p}.tar.gz"
+    export CPPFLAGS="-I${dev_roots}/libffi/lib/${p}/include ${CPPFLAGS}"
+    export C_INCLUDE_PATH="${dev_roots}/libffi/lib/${p}/include:${C_INCLUDE_PATH}"
   fi;
 
   ruler;
@@ -540,6 +543,8 @@
       "cyrus-sasl" "${p}" \
       "ftp://ftp.cyrusimap.org/cyrus-sasl/${p}.tar.gz" \
       --disable-macos-framework;
+    export CPPFLAGS="-I${dev_roots}/${n}/include/sasl ${CPPFLAGS}"
+    export C_INCLUDE_PATH="${dev_roots}/${n}/include/sasl:${C_INCLUDE_PATH}"
   fi;
 
   ruler;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140330/0b380f82/attachment.html>


More information about the calendarserver-changes mailing list