Auto-adding optional depends

Auke Kok sofar at foo-projects.org
Thu Apr 27 18:28:10 UTC 2006



On Thu, 27 Apr 2006 18:05:03 +0000, Auke Kok <sofar at foo-projects.org> wrote:
> On Thu, 27 Apr 2006 11:50:26 -0600, "Richard Pyne" <rpyne at kinfolk.org>
> wrote:
>> I just took a look at the latest version of the postfix module
>> (which is what I was trying to lin when I came across this auto-
>> depends problem) and it has been changed such that all of the
>> optional depedencies are through "if  module_installed" tests in
>> BUILD instead of actually using DEPENDS or CONFIGURE to actually
>> set the options. As I have time, I'll work on this and other
>> modules I need as time permits.
> 
> that's a bug indeed - not a lot of developers have seen 'in_depends' and
> 'is_depends' yet - I'll patch this myself to fix this.

fixed this with a bit of trickery - postfix doesn't use --configure flags so I had to trick the lunar code with magic and black voodoo. Now I have postfix installed without openldap support even though ldap is installed - so it works.

Cheers,

Auke



More information about the Lunar mailing list