From 2249570ff2aee29ae2d26832bac2547f72d6ba96 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 9 Jan 2008 01:50:47 +0200 Subject: [PATCH] Fixed libxslt to check if python is actually available Note: It seems there are issues connected to the PYTHON environment variable, leaking into the sandbox if python is installed on the system the target is build on. Nevertheless it seems to be not a big problem it might be safer to add this check! The same problem also appears while building the libxml package! --- textproc/libxslt/libxslt.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/textproc/libxslt/libxslt.conf b/textproc/libxslt/libxslt.conf index 166c099e0..e90150c63 100644 --- a/textproc/libxslt/libxslt.conf +++ b/textproc/libxslt/libxslt.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libxslt/libxslt.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -16,10 +16,12 @@ if ! pkginstalled libgcrypt; then var_append extraconfopt ' ' '--without-crypto' fi -if ! atstage native; then +if ! atstage native || ! pkginstalled python; then # python, not on stage 1 please var_append extraconfopt ' ' '--without-python' +fi +if ! atstage native; then # help it to find the right libxml var_append extraconfopt ' ' "--with-libxml-prefix=$root/$( pkgprefix libxml )" fi