paludis.git (master) -- 13343e7 by Bo Ãrsted Andresen
git at git.pioto.org
git at git.pioto.org
Mon Sep 29 15:27:38 EDT 2008
Module: paludis.git
Branch: master
Commit: 13343e71d974911400f084d4c73d81076fc046b0
URL: http://git.pioto.org/?p=paludis.git;a=commit;h=13343e71d974911400f084d4c73d81076fc046b0
Author: Bo Ørsted Andresen <zlin at exherbo.org>
Committer: Bo Ørsted Andresen <zlin at exherbo.org>
Date: Mon Sep 29 21:26:39 2008 +0200
----
Print qa notice when econf is run outside src_configure/src_compile depending upon the existence of src_configure in the current EAPI.
----
.../repositories/e/ebuild/0/build_functions.bash | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/paludis/repositories/e/ebuild/0/build_functions.bash b/paludis/repositories/e/ebuild/0/build_functions.bash
index 03ca2cd..c1c3577 100644
--- a/paludis/repositories/e/ebuild/0/build_functions.bash
+++ b/paludis/repositories/e/ebuild/0/build_functions.bash
@@ -22,6 +22,12 @@
econf()
{
+ local phase
+ has src_configure ${PALUDIS_EBUILD_FUNCTIONS} && phase=configure
+ if [[ "${EBUILD_PHASE}" != "${phase:-compile}" ]]; then
+ ebuild_notice "qa" "econf called in EBUILD_PHASE ${EBUILD_PHASE}. It should not be run outside src_${phase} for this EAPI."
+ fi
+
local LOCAL_EXTRA_ECONF="${EXTRA_ECONF}"
local LOCAL_ECONF_WRAPPER="${ECONF_WRAPPER}"
---
More information about the paludis-commits
mailing list