From 72a8b56808c3a4d03c56f3c51a7046c05641e736 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 7 Dec 2012 12:33:51 +0100 Subject: [PATCH] libcap-ng: improved to disable python support if the target is not including python --- base/libcap-ng/libcap-ng.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 base/libcap-ng/libcap-ng.conf diff --git a/base/libcap-ng/libcap-ng.conf b/base/libcap-ng/libcap-ng.conf new file mode 100644 index 000000000..b87f57961 --- /dev/null +++ b/base/libcap-ng/libcap-ng.conf @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libcap-ng/libcap-ng.conf +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# disable python support if the target is not including python +if ! pkginstalled python; then + var_append extraconfopt ' ' "--without-python" +fi