pkgsrc-Users archive

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

Re: how to build outside WRKSRC?



On 6 August 2010 20:14, Mark Kirby <mark%fishladder.co.uk@localhost> wrote:
> In your Makefile you need
>
> USE_CMAKE= Â Â Âyes
> CMAKE_ARG_PATH= ..
> CONFIGURE_DIRS= $name_of_dir
>
> Then you need a pre-configure or whatever stage to create the build dir
>
> e.g.
>
> pre-configure:
> Â Â Â Â${MKDIR} ${WRKSRC}/_KDE_build
>
> The above is taken from pkgsrc/meta-pkgs/kde4/Makefile.kde4.
>
> I suggest you have a look at how the kde4 packages are set up as an example 
> of how the CMAKE stuff works.
>
> Hope that helps..

I see.  Thanks a lot.  I should have looked more carefully.

Pouya


Home | Main Index | Thread Index | Old Index