Re: ASDF and Allegro libs

"Nick Allen" <[email protected]> Mon, 16 Apr 2007 15:09:04 -0700
Newsgroups gmane.lisp.allegro,gmane.lisp.cclan.general
Message-ID <[email protected]>
On 4/16/07, Gary King <[email protected]> wrote:
>
> Hi Nick,
>
> (I've forwarded this on to the CCLAN list too)
>
> Off hand, I don't know of any other solution. One thing that comes to
> mind is to create a system search plug in (I forgot what ASDF calls
> them) so that a clause like
>
> :depends-on (:acache :aserve ...)


I dunno... this would be a solution for my specific problem at this moment,
but this seems to me to be a general problem that could be solved with a
general solution... what if we added another option to defsystem's
:components initarg that was a hook into cl:require?

so that way ppl can

(defsystem :foo
   :components
   ((:module "m1"
     :depends-on ("n2" #-allegro :cl-ppcre)
     :requires (#+allegro "regexp2))
    ...

?

or maybe it would be better to call it :require-unportable-module or
something since cl:require is `depricated'...

would cause ASDF to issue the require command. If you're at all
> interested in this solution, I'd be happy to make it walk and talk
> like a duck.


thanks for the offer :-)

take care

Nick