Browse Source

libprelude: fixed to not build the easy bindings if swig is not installed

Note:

We need swig to regenerate the binding sources and without it building the
"easy bindings" (high level API) will fail!
user/chris/next/shadow
Christian Wiese 13 years ago
parent
commit
28aeeb7625
  1. 12
      security/libprelude/libprelude.conf

12
security/libprelude/libprelude.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libprelude/libprelude.conf
# Copyright (C) 2011 The OpenSDE Project
# Copyright (C) 2011 - 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -17,3 +17,13 @@ if pkginstalled perl; then
# install perl modules into vendor
var_append extraconfopt ' ' "--with-perl-installdirs=vendor"
fi
# we need swig to regenerate the binding sources and without it
# building the "easy bindings" (high level API) will fail
if pkginstalled -f swig; then
var_append extraconfopt ' ' "--with-swig"
var_append extraconfopt ' ' "--enable-easy-bindings"
else
var_append extraconfopt ' ' "--without-swig"
var_append extraconfopt ' ' "--disable-easy-bindings"
fi

Loading…
Cancel
Save