diff --git a/security/beecrypt/beecrypt.conf b/security/beecrypt/beecrypt.conf index c730bbfdb..a4f25bdf5 100644 --- a/security/beecrypt/beecrypt.conf +++ b/security/beecrypt/beecrypt.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../beecrypt/beecrypt.conf -# Copyright (C) 2013 The OpenSDE Project +# Copyright (C) 2013 - 2014 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -27,4 +27,13 @@ fi if ! pkginstalled -f python; then var_append extraconfopt ' ' "--without-python" +else + if atstage cross; then + # Note: $pyver is exported through python's parse-config + # use the right Python.h + var_append configcache ' ' "ac_cv_python_include=-I$( pkgprefix -r includedir python)/python${pyver}" + # Note: intentionally no $root is used because libtool + # will inject it on install! + var_append configcache ' ' "ac_cv_python_libdir=$( pkgprefix libdir python)/python${pyver}/site-packages" + fi fi