jhuntwork at linuxfromscratch.org
Mon Nov 28 07:07:39 PST 2005
Bruce Dubbs wrote:
> Jeremy Huntwork wrote:
>>Variable Required Dependencies (PackageA vs. PackageB) - In a case where
>>there is a required dependency for a package that can be satisfied by
>>more than one package, we could use a variable representing that
>>dependency. For example, if the dependency is having an MTA installed,
>>we could use the internal variable MTA and you could call make with
>>something like 'make MTA=... install-[package-name]'. If the variable
>>isn't set on the command line, then make will prompt for a user choice.
> My approach to this would be to either accept the first of alternative
> packages listed or add an xml tag to indicate what the blfs editors
> would suggest as the default choice.
Well, if you're concerned about disrupting automation, the prompt for
the choice could come right away, as soon as you enter make. It could
traverse the dependencies and make sure all necessary choices are made.
More information about the blfs-dev