aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Quentin Glidic <sardemff7+git@sardemff7.net> 2012-03-18 13:28:14 +0100
committerAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2012-10-05 00:00:17 +0200
commit698a19cd294d65cca88d8d0eed9eca7ca354f4fb (patch)
treef5451ee3933e6740b58c1cbef19f0fe8a397413a
parent36434f5612742c202692e46d0aa8c052a86456d1 (diff)
downloadpaludis-698a19cd294d65cca88d8d0eed9eca7ca354f4fb.tar.gz
paludis-698a19cd294d65cca88d8d0eed9eca7ca354f4fb.tar.xz
exheres-0: Add DEFAULT_SRC_CONFIGURE_OPTIONS
-rw-r--r--paludis/repositories/e/eapis/exheres-0.conf1
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_configure.bash4
2 files changed, 5 insertions, 0 deletions
diff --git a/paludis/repositories/e/eapis/exheres-0.conf b/paludis/repositories/e/eapis/exheres-0.conf
index a91c54c..8f56d4f 100644
--- a/paludis/repositories/e/eapis/exheres-0.conf
+++ b/paludis/repositories/e/eapis/exheres-0.conf
@@ -85,6 +85,7 @@ must_not_set_vars_starting_with = DEFAULT_PKG_ DEFAULT_SRC_ UPSTREAM_
must_not_change_after_source_variables = \
DEFAULT_SRC_COMPILE_PARAMS \
DEFAULT_SRC_CONFIGURE_PARAMS \
+ DEFAULT_SRC_CONFIGURE_OPTIONS \
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES \
DEFAULT_SRC_CONFIGURE_OPTION_WITHS \
DEFAULT_SRC_CONFIGURE_TESTS \
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_configure.bash b/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
index 4999c1b..6dd643f 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
@@ -25,6 +25,7 @@ default_src_configure()
verify_not_called_cross_phase ${FUNCNAME[0]#default_}
ebuild_verify_not_changed_from_global_scope \
DEFAULT_SRC_CONFIGURE_PARAMS \
+ DEFAULT_SRC_CONFIGURE_OPTIONS \
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES \
DEFAULT_SRC_CONFIGURE_OPTION_WITHS \
DEFAULT_SRC_CONFIGURE_TESTS
@@ -32,6 +33,9 @@ default_src_configure()
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf \
"${DEFAULT_SRC_CONFIGURE_PARAMS[@]}" \
+ $(for s in "${DEFAULT_SRC_CONFIGURE_OPTIONS[@]}" ; do \
+ option ${s} ; \
+ done ) \
$(for s in "${DEFAULT_SRC_CONFIGURE_OPTION_ENABLES[@]}" ; do \
option_enable ${s} ; \
done ) \