svn commit: r369796 - head/Mk/Uses

Marcus von Appen mva at FreeBSD.org
Thu Oct 2 07:26:48 UTC 2014


Author: mva
Date: Thu Oct  2 07:26:47 2014
New Revision: 369796
URL: https://svnweb.freebsd.org/changeset/ports/369796
QAT: https://qat.redports.org/buildarchive/r369796/

Log:
  - Fix WITH_DEBUG with USES=cmake. bsd.ports.mk sets STRIP= after all Uses
    files have been processed initially. If one has WITH_DEBUG=yes set, the
    INSTALL_TARGET for USES=cmake has been set already to install/strip, before
    STRIP is reset.
  
  Differential Revision:	D875
  Approved by:	makc@ (kde), bapt@ (portmgr)

Modified:
  head/Mk/Uses/cmake.mk

Modified: head/Mk/Uses/cmake.mk
==============================================================================
--- head/Mk/Uses/cmake.mk	Thu Oct  2 06:17:58 2014	(r369795)
+++ head/Mk/Uses/cmake.mk	Thu Oct  2 07:26:47 2014	(r369796)
@@ -64,7 +64,7 @@ CMAKE_BUILD_TYPE?=	Release
 
 PLIST_SUB+=		CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:tl}"
 
-.if defined(STRIP) && ${STRIP} != ""
+.if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG)
 INSTALL_TARGET?=	install/strip
 .endif
 


More information about the svn-ports-all mailing list