On 2011-09-06, Vadim Zhukov <persg...@gmail.com> wrote:
> Unfortunately, it changes, because CMake is given different profile:
>
> (in Makefile)
> .if ${FLAVOR:L:Mdebug}
> CONFIGURE_ARGS +=       -DCMAKE_BUILD_TYPE:String=Debug
> CMAKE_TARGET_PREFIX =   -debug
> .else
> CONFIGURE_ARGS +=       -DCMAKE_BUILD_TYPE:String=Release
> CMAKE_TARGET_PREFIX =   -release
> .endif
>
> SUBST_VARS +=           CMAKE_TARGET_PREFIX
>
> (in PLIST)
> share/apps/cmake/modules/KDELibs4LibraryTargets${CMAKE_TARGET_PREFIX}.cmake

Yes that's the right thing to do.

> My first decision was to just comment those PLIST entries out, but
> looks like they're being used by other packages.
> Anyway, main problem is not the needance of this dance (probably it
> should be done better, packaging files for both configurations). But
> that "make update-plist" does compacting incorrectly, removing
> preceding dash.

Just ignore update-plist's changes in this case, it's a useful tool
but not perfect; flavours are one area where it's quite easily confused.


Reply via email to