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



On Thu, Sep 15, 2005 at 12:13:21PM +0200, Aron Stansvik wrote:
> 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.

I'd say go with libmemcache> or libmemcache>=0 for now (since it's a new
package, there are no older versions in pkgsrc anyway), and use >=1.4.0
once it has been released.  You don't need the PKGREVISION, since the
version of the package itself will change also.  No changes will be
required to lighttpd then.  

GH


-------------------------------------------------------
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