From 57e154b369c7e4b0b4c6a42d1311bb9b42dee757 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 18 Feb 2012 20:52:37 +0100 Subject: [PATCH] libarchive: improved to disable support for xar through libxml2 when needed --- archiver/libarchive/libarchive.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 archiver/libarchive/libarchive.conf diff --git a/archiver/libarchive/libarchive.conf b/archiver/libarchive/libarchive.conf new file mode 100644 index 000000000..2ac7a226f --- /dev/null +++ b/archiver/libarchive/libarchive.conf @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libarchive/libarchive.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 support for xar through libxml2 +if ! pkginstalled -f libxml; then + var_append extraconfopt ' ' "--without-xml2" +fi