From 9d34c36e0a35b9c32e1afb604dcb50e18fbf2f5a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 30 Jun 2014 11:32:07 +0200 Subject: [PATCH] Implemented support for permanent pkg build options (globally or per-pkg). Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf. Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_' in etc/conf. Close GH #452. --- Manual.md | 7 +++- common/options.description | 60 ++++++++++++++++++++++++++++ common/xbps-src/shutils/chroot.sh | 21 +--------- common/xbps-src/shutils/common.sh | 20 ++++++---- common/xbps-src/shutils/pkgtarget.sh | 21 +--------- common/xbps-src/shutils/show.sh | 31 +++++++------- etc/defaults.conf | 15 +++++++ xbps-src | 10 +++-- 8 files changed, 117 insertions(+), 68 deletions(-) create mode 100644 common/options.description diff --git a/Manual.md b/Manual.md index 9e7f7a6327..8d84427f49 100644 --- a/Manual.md +++ b/Manual.md @@ -438,7 +438,8 @@ The following variables may be set to allow package build options: - `build_options_default` Sets the default build options to be used by the source package. - `desc_option_