sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Eric Sandall <eric AT sandall.us>
- To: SM Discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] expat depends
- Date: Wed, 18 Jan 2006 14:13:17 -0800 (PST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 18 Jan 2006, neuron wrote:
<snip>
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.
- -sandalle
- --
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDzr2AHXt9dKjv3WERAm8OAJ0YPPiddh8EARGcZGNJ5uf8Bw/fmgCfU0LD
ykGkfdvBAak5QobzrzoD9qU=
=6T2b
-----END 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.