[Build-common-hackers] Bug#501233: [cdbs] cmake.mk does not add "cmake" package to CDBS_BUILD_DEPENDS

Marc Dequènes (Duck) duck at duckcorp.org
Sun Oct 11 16:10:23 UTC 2009


Coin,

I rewrote things a bit, so as to match the current variable names  
policy. I also removed the unconditional versionned B-D, even if  
oldstable has 2.4.5 available, as adding unneeded versioning proved to  
do much harm in the past, mostly in case of porting.

One problem remains: the automatic version discovery will be working  
until the cmake package needs to use epochs. It is possible to  
auto-discover the epoch to use, but that would either means having  
network connectivity (rmadison), or proper sources.list and updated  
local database (apt-cache), but we can't count on this during  
autobuilders' work. Thus the user would have to add the version by  
himself, or modify the version like this:
   DEB_CMAKE_VERSION = <epoch>:$(DEB_CMAKE_VERSION)
which is a bit ugly and would give bullshit if cmake_minimum_required  
is missing or not formated correctly. But we could detect this  
situation.

Any suggestion ?

-- 
Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-depends_updated_1.patch
Type: text/x-diff
Size: 1104 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091011/21f09ff7/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091011/21f09ff7/attachment.pgp>


More information about the Build-common-hackers mailing list