pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/configure cmake.mk: strip only for targets have USE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29bf25c98b2c
branches:  trunk
changeset: 383095:29bf25c98b2c
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Aug 12 08:26:01 2022 +0000

description:
cmake.mk: strip only for targets have USE_LANGUAGES

diffstat:

 mk/configure/cmake.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 13a91c896a99 -r 29bf25c98b2c mk/configure/cmake.mk
--- a/mk/configure/cmake.mk     Fri Aug 12 08:21:38 2022 +0000
+++ b/mk/configure/cmake.mk     Fri Aug 12 08:26:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.23 2022/08/05 18:54:43 adam Exp $
+# $NetBSD: cmake.mk,v 1.24 2022/08/12 08:26:01 adam Exp $
 #
 # This file handles packages that use CMake as their primary build
 # system. For more information about CMake, see http://www.cmake.org/.
@@ -45,7 +45,7 @@
 
 _CMAKE_DIR=    ${BUILDLINK_DIR}/cmake-Modules
 
-.if ${INSTALL_UNSTRIPPED:Uno:tl} != yes
+.if !empty(USE_LANGUAGES) && ${INSTALL_UNSTRIPPED:Uno:tl} != yes
 INSTALL_TARGET?=       install/strip
 .endif
 



Home | Main Index | Thread Index | Old Index