pkgsrc-WIP-review archive

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

Re: Please review icecc



On Sat, Mar 12, 2005 at 07:17:54PM -0500, David Howland wrote:
> Iain Hibbert wrote:
> >I have suggested to the maintainer of vim that he splits out the 
> >VIM_VERSION information into a "version.mk" file in the vim-share 
> >directory.  That way, we can do something like:
> >
> >.include "../../editors/vim-share/version.mk"
> >.if exists(${PREFIX}/bin/gvim)
> >DEPENDS+=        
> >vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}:../../editors/vim-share
> >.else
> >DEPENDS+=        
> >vim-gtk2-${VIM_VERSION}.${VIM_PATCHLEVEL}:../../editors/vim-gtk2
> >.endif
> 
> hmmm...interesting.  So it depends on vim-gtk2, unless the user already 
> has chosen their own gvim, nice.  Although, I don't need any version 
> info, usually its just ">=6.0".  Thanks,

You can have that more easily:
DEPENDS+=       {vim-gtk2,vim-gtk,vim-kde,vim}>=6.0:../../editors/vim-gtk2
will make it depend on any vim*>=6.0 (from the list) or fall
back to vim-gtk2 if none is installed yet.
 Thomas


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index