sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
Re: [SM-Sorcery]asking about optional_depends in DEPENDS
- From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- To: Sergey A Lipnevich <sergeyli AT pisem.net>
- Cc: eric AT sandall.us, sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]asking about optional_depends in DEPENDS
- Date: 11 Oct 2002 17:40:21 -0400
Yes, that is how it works now. You are only asked about things that are
not installed.
On Fri, 2002-10-11 at 16:25, Sergey A Lipnevich wrote:
> I tried it numerous times today with devel sorcery, it doesn't work this
> way anymore. The question is only asked if the spell is not installed.
> I'm pretty sure because I've also made changes to it today and remember
> the relevant portion of code. For instance, php has about ten
> optional_depends, I'm asked only about one which is not installed.
>
> Eric Sandall wrote:
>
> >>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
> >
> >
> >
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
--
Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1
Attachment:
signature.asc
Description: This is a digitally signed message part
-
[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.