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

Thomas Abthorpe tabthorpe at FreeBSD.org
Tue Mar 2 17:05:02 CET 2010


On Tue, 2 Mar 2010 13:47:55 +0100
"Pietro Cerutti" <gahr at gahr.ch> wrote:

> 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:
> http://people.freebsd.org/~gahr/bsd.cmake.mk.diff
> 
> Thanks for commenting on this one!

Piter incorporated Max's suggestion, so with my KDE hat on, I am good with the
work presented.


Thomas

-- 
Thomas Abthorpe		| FreeBSD Committer
tabthorpe at FreeBSD.org	| http://people.freebsd.org/~tabthorpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20100302/72f425d7/attachment.sig 


More information about the kde-freebsd mailing list