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

Pietro Cerutti gahr at gahr.ch
Tue Mar 2 13:47:55 CET 2010

On 2010-Mar-02, 15:30, Max Brazhnikov wrote:
> 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.

Fine to me. I have uploaded a revised patch not using CMAKE_BINARY_PATH and
based on how kde4 handles out-of-source builds here:

Thanks for commenting on this one!

Pietro Cerutti
gahr at gahr.ch

PGP Public Key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100302/fb8e9bf5/attachment.sig 

More information about the kde-freebsd mailing list