K 10 svn:author V 6 rakuco K 8 svn:date V 27 2014-12-29T20:10:20.009817Z K 7 svn:log V 558 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. END