Browse Source

beecrypt: fixed to build and install python modules when cross-compiling

stable/0.6
Christian Wiese 11 years ago
parent
commit
39c85e3fbb
  1. 11
      security/beecrypt/beecrypt.conf

11
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

Loading…
Cancel
Save