On Sat, Apr 05, 2014 at 10:44:59AM +0000, Max Brazhnikov wrote:
> On Thu, 03 Apr 2014 13:05:40 -0500 Brooks Davis wrote:
> > I'm working on some more clang ports that will build using cmake and I
> > need to install them in a subdirectory of ${PREFIX}.  I've got them
> > working using the following patch which add CMAKE_PREFIX as an analog to
> > GNU_CONFIGURE_PREFIX.
> 
> I'm ok with idea, but lets call it CMAKE_INSTALL_PREFIX.

That's fine by me.  Should we do an exp run for this one or just commit
since it's trivial?

Thanks,
Brooks

> > Thanks,
> > Brooks
> > 
> > Index: Mk/Uses/cmake.mk
> > ===================================================================
> > --- Mk/Uses/cmake.mk        (revision 349864)
> > +++ Mk/Uses/cmake.mk        (working copy)
> > @@ -83,11 +83,13 @@
> >                     -DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \
> >                     -DCMAKE_MODULE_LINKER_FLAGS:STRING="${LDFLAGS}" \
> >                     -DCMAKE_SHARED_LINKER_FLAGS:STRING="${LDFLAGS}" \
> > -                   -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
> > +                   -DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_PREFIX}" \
> >                     -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
> >                     -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \
> >                     -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES
> >  
> > +CMAKE_PREFIX?=             ${PREFIX}
> > +
> >  .if defined(BATCH) || defined(PACKAGE_BUILDING)
> >  CMAKE_VERBOSE=             yes
> >  CMAKE_NOCOLOR=             yes
> 

Attachment: pgp3MoWmKabGM.pgp
Description: PGP signature

_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to