[asdf-devel] Re: software failures (with asdf 3?)

Robert Goldman rpgoldman at sift.info
Tue Jul 9 18:41:28 UTC 2013


Robert Goldman wrote:
> Robert, you might want to look into this:
> * in dependency-def, it should be (:feature @var{feature-expression}
> @var{dependency-def})

OK, I thought I understood this, but I don't.

There's a second argument to :feature when used in a dependency-def, but
not when it's used in a dependency?

So we would see something like:

:depends-on (:cl-ppcre (:feature :clx "clx-dependent-library"))

and the semantics is

If (member :clx *features*) then clx-dependent-library is a dependency.

Correct?

Is there some reason why this isn't :if-feature or :when-feature?  Using
:feature as a conditional seems odd....

thanks,
r






More information about the asdf-devel mailing list