pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New packages and question about BUILDLINK_DEPENDS



2005/9/15, Geert Hendrickx <geert.hendrickx%ua.ac.be@localhost>:
> On Thu, Sep 15, 2005 at 11:18:55AM +0200, Aron Stansvik wrote:
> > Ehum. Just to make sure I get this right. To make it depend on just
> > "libmemcache", no specific version, I would just skip the assignment to
> > BUILDLINK_DEPENDS.libmemcache ?
> >
> > A buildlink3.mk file like:
> >
> > [...]
> >
> > Will pull in the dependency, with no specific version requirement. Right?
> 
> No, that doesn't seem to work. :-(

Glad I'm not crazy ;)

> 
> But this worked for me:
> 
> BUILDLINK_DEPENDS.libmemcache+=         libmemcache>
> 
> But I don't know how "correct" that is (other than "it works" and "pkglint
> accepts it").
> 
> Otherwise you could use things like libmemcache>=0.

Okay. Anyone else know of a more "correct" way to do this?

I'm thinking maybe I should use >=1.4.0 intially after all, and when
1.4.0 is really released, if the API has been broken (unlikely), I'll
bump the PKGREVISION to 1 and change the buildlink3.mk to pull in
memcache>=1.4.0nb1, to force any dependants (that will probably still
be only lighttpd) to update themselves.

Does this even make sense? Is it horrid? ;) If it is, then I'll go
with the libmemcache> hack instead.

> > Sorry for all the questions, but it's my first package, and I couldn't
> > find any information in the pkgsrc docs about non-version-sensitive
> > buildlink3.mk files. And digging in /usr/pkgsrc/mk is mostly voodo to me
> > :)
> 
> No problem, that's what this list, and pkgsrc-wip, is about. :-)

Good :)

Aron


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index