[kde-freebsd] Request for approval - Support off-source builds in bsd.cmake.mk

Max Brazhnikov makc at issp.ac.ru
Tue Mar 2 13:30:46 CET 2010


On Tue, 2 Mar 2010 12:34:36 +0100, Pietro Cerutti wrote:
> Dear kde@, portmgr@,
> 
> I would like to commit the attached patch [1], that allows a port
> using cmake to define the CMAKE_OFFSOURCE variable and have the
> cmake framework build the port out of source [2].
> 
> While this changes applies to Mk/, I don't see this as a sweeping
> commit, since the default behavior remains unchanged, unless a port
> explicitely sets the variable CMAKE_OFFSOURCE.
> 
> Any objection?

Pietro, have you looked how kde4.mk handles with out of source builds?
I would prefer to not introduce CMAKE_BINARY_PATH, instead redefine *_WRKSRC 
accordingly when CMAKE_OUTSOURCE is set.

Greets,
Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100302/b07d588f/attachment.sig 


More information about the kde-freebsd mailing list