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: install stripped binaries



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8064d5d5542
branches:  trunk
changeset: 382807:b8064d5d5542
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Aug 05 18:54:43 2022 +0000

description:
cmake.mk: install stripped binaries

diffstat:

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

diffs (20 lines):

diff -r c608ee71197c -r b8064d5d5542 mk/configure/cmake.mk
--- a/mk/configure/cmake.mk     Fri Aug 05 15:26:15 2022 +0000
+++ b/mk/configure/cmake.mk     Fri Aug 05 18:54:43 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.22 2021/10/20 23:42:13 gdt Exp $
+# $NetBSD: cmake.mk,v 1.23 2022/08/05 18:54:43 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,6 +45,10 @@
 
 _CMAKE_DIR=    ${BUILDLINK_DIR}/cmake-Modules
 
+.if ${INSTALL_UNSTRIPPED:Uno:tl} != yes
+INSTALL_TARGET?=       install/strip
+.endif
+
 CMAKE_USE_GNU_INSTALL_DIRS?=   yes
 
 CMAKE_INSTALL_PREFIX?= ${PREFIX}



Home | Main Index | Thread Index | Old Index