for which it's not supported. This avoids pointless spawning of ebuild.sh and
also avoids having bashrc called during an invalid phase as reported by
Arfrever.
svn path=/main/trunk/; revision=11398
}
dyn_configure() {
- hasq "$EAPI" 0 1 2_pre1 && return 0
if [[ $PORTAGE_BUILDDIR/.configured -nt $WORKDIR ]] ; then
vecho ">>> It appears that '$PF' is already configured; skipping."
ebuild_phases = TaskSequence(scheduler=self.scheduler)
- for phase in self._phases:
+ pkg = self.pkg
+ phases = self._phases
+ if pkg.metadata["EAPI"] in ("0", "1", "2_pre1"):
+ # skip src_configure
+ phases = phases[1:]
+
+ for phase in phases:
ebuild_phases.add(EbuildPhase(background=self.background,
pkg=self.pkg, phase=phase, scheduler=self.scheduler,
settings=self.settings, tree=self._tree))