diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-10-02 07:26:47 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-10-02 07:26:47 +0000 |
commit | 63dbcb2140afb1df352ea47291666a43378a5ce3 (patch) | |
tree | 3acaada9fa9820aaafd55b2a6b9522d55a2f7b3f /Mk | |
parent | ae4e8ae322699fe44b07f01227569a3bacdc2f61 (diff) | |
download | freebsd-ports-63dbcb2140afb1df352ea47291666a43378a5ce3.zip |
- 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)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/cmake.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk index ad8369180027..453b2c27971c 100644 --- a/Mk/Uses/cmake.mk +++ b/Mk/Uses/cmake.mk @@ -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 |