sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
Re: [SM-Sorcery]asking about optional_depends in DEPENDS
- From: "Eric Sandall" <eric AT sandall.us>
- To: <sm-sorcery AT lists.ibiblio.org>
- Subject: Re: [SM-Sorcery]asking about optional_depends in DEPENDS
- Date: Fri, 11 Oct 2002 06:15:48 -0700 (PDT)
> Hi guys!
>
> Sometimes, even if the spell which is in optional_depends, is installed,
> I still want this specific dependency to be disabled (e.g. php couldn't
> depend on mm when built for apache2). Optional_depends enables such
> dependencies automatically, so in my case, php doesn't cast. Does it
> sound like a good option if sorcery introduces another parameter to
> optional_depends, "y/n"-style, and asks an admin about each
> `optional_depends' spell whether s/he wants current spell to depend on
> it or not? E.g., in my case, if php has `optional_depends mm', I'd be
> asked if I want mm's instructions "--with-mm" in my $OPTS or not, no
> matter if mm is installed. I hope you get the point :-).
> Thanks!
>
> Sergey.
optional_depends already does this (it does this for me), even if you have
a spell installed which is an optional_depends, you are asked again
whether you want the option. What you describe is attributed to
auto_depends (which is now taken out), which would _not_ query the SA if
the spell was already installed and would automagically put it in $OPTS.
Try 'cast -r php' to have it re-query, for it probably saved your answers
from last time.
-One of Four
a.k.a. sandalle
--
Eric Sandall | Source Mage GNU/Linux
Developer
eric AT sandall.us | http://www.sourcemage.org
http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org #196285 | http://www.shock.wsu.edu/
-
[SM-Sorcery]asking about optional_depends in DEPENDS,
Sergey A Lipnevich, 10/11/2002
-
Re: [SM-Sorcery]asking about optional_depends in DEPENDS,
Eric Sandall, 10/11/2002
-
Re: [SM-Sorcery]asking about optional_depends in DEPENDS,
Sergey A Lipnevich, 10/11/2002
- Re: [SM-Sorcery]asking about optional_depends in DEPENDS, Dufflebunk, 10/11/2002
- Re: [SM-Sorcery]asking about optional_depends in DEPENDS, Sergey A Lipnevich, 10/11/2002
-
Re: [SM-Sorcery]asking about optional_depends in DEPENDS,
Sergey A Lipnevich, 10/11/2002
-
Re: [SM-Sorcery]asking about optional_depends in DEPENDS,
Eric Sandall, 10/11/2002
Archive powered by MHonArc 2.6.24.