sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: neuron <vlmarek AT volny.cz>
- To: SM Discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] expat depends
- Date: Thu, 19 Jan 2006 00:31:23 +0100
> > For example, gaze orphan showed me that sdl_net is not needed anymore.
> > After dispel of sdl_net, dosbox didn't work anymore. The problem is,
> > that the dosbox ./configure uses sdl_net if it finds one during
> > compilation, but there is no way to disable it. So the correct way to do
> > DEPENDS file should be something like:
> >
> > if spell_ok sdl_net; then
> > depends sdl_net
> > else
> > optional_depends sdl_net
> > fi
> >
> > If we checked all libs and binaries after install, we might have good
> > chance of having perfect dependencies, no ?
>
> That's what optional_depends is for, don't do if checks like that.
> What you'd do is put 'if; then fi' in PRE_BUILD to modify the
> configure script to not enable/find sdl_net if the user said 'n' to
> sdl_net.
Why ? I think that the result for end user is the same. Patching
whatever seems to me harder than writing this:
if spell_ok sdl_net; then
depends sdl_net
else
optional_depends sdl_net
fi
Also the patch will have to be changed as the configure will be changed.
--
neuron
Attachment:
pgpWiXILa0mva.pgp
Description: PGP signature
-
[SM-Discuss] expat depends,
Robin Cook, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Arwed von Merkatz, 01/18/2006
-
Re: [SM-Discuss] expat depends,
neuron, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Eric Sandall, 01/18/2006
-
Re: [SM-Discuss] expat depends,
neuron, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Andrew, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Robin Cook, 01/18/2006
- Re: [SM-Discuss] expat depends, Andrew Stitt, 01/19/2006
- Re: [SM-Discuss] expat depends, neuron, 01/19/2006
-
Re: [SM-Discuss] expat depends,
Robin Cook, 01/18/2006
-
Re: [SM-Discuss] expat depends,
neuron, 01/19/2006
- Re: [SM-Discuss] expat depends, Ladislav Hagara, 01/19/2006
- Re: [SM-Discuss] expat depends, neuron, 01/19/2006
-
Re: [SM-Discuss] expat depends,
Andrew, 01/18/2006
-
Re: [SM-Discuss] expat depends,
neuron, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Eric Sandall, 01/18/2006
-
Re: [SM-Discuss] expat depends,
neuron, 01/18/2006
-
Re: [SM-Discuss] expat depends,
Arwed von Merkatz, 01/18/2006
Archive powered by MHonArc 2.6.24.