From 5995d120dfcc5660647ef5aad91c50d0c49609e7 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 14 Jan 2013 11:13:49 +0100 Subject: [PATCH] libprelude: improved to disable python support if python is not installed effectively Note: This change needs to be introduced because when cross-compiling configure detects the python installation from the host which leads to enabling python support even if there is no python installed in the target. --- security/libprelude/libprelude.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/security/libprelude/libprelude.conf b/security/libprelude/libprelude.conf index b64266a9e..5cb001457 100644 --- a/security/libprelude/libprelude.conf +++ b/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 - 2012 The OpenSDE Project +# Copyright (C) 2011 - 2013 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -18,6 +18,10 @@ if pkginstalled perl; then var_append extraconfopt ' ' "--with-perl-installdirs=vendor" fi +if ! pkginstalled -f python; then + var_append extraconfopt ' ' "--without-python" +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