aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-10-02 15:26:47 +0800
committermva <mva@FreeBSD.org>2014-10-02 15:26:47 +0800
commit713777d616d870ab61c6e1e786aa986098c28c4b (patch)
tree3acaada9fa9820aaafd55b2a6b9522d55a2f7b3f /Mk/Uses
parent17a4f708b6109470a0fe73edbe959ffce496426a (diff)
downloadfreebsd-ports-gnome-713777d616d870ab61c6e1e786aa986098c28c4b.tar.gz
freebsd-ports-gnome-713777d616d870ab61c6e1e786aa986098c28c4b.tar.zst
freebsd-ports-gnome-713777d616d870ab61c6e1e786aa986098c28c4b.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/Uses')
-rw-r--r--Mk/Uses/cmake.mk2
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