[kde-freebsd] [SVN Commit] area51/PORTS/devel/cmake

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Dec 29 20:09:43 UTC 2014


SVN commit 10533 by rakuco:

cmake: Check for WITH_DEBUG when changing INSTALL_TARGET.

We have the same problem described in https://reviews.freebsd.org/D875:
> bsd.ports.mk sets STRIP= after all Uses files have been processed
> initially. If you have WITH_DEBUG=yes set, cmake's INSTALL_TARGET has been
> set already to install/strip, before STRIP is reset.

In other words, INSTALL_TARGET would always be set to "install/strip"
even when WITH_DEBUG was set.

Since we do not use USES=cmake here the fix (check for WITH_DEBUG besides
evaluating STRIP) needs to be duplicated in the Makefile.



 M  +3 -3      Makefile  




More information about the kde-freebsd mailing list