pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cmake cmake: Don't strip if INSTALL_UNSTRIPPED=yes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa86759fc6af
branches:  trunk
changeset: 382741:fa86759fc6af
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Aug 04 09:22:33 2022 +0000

description:
cmake: Don't strip if INSTALL_UNSTRIPPED=yes.

diffstat:

 devel/cmake/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 5a14980f326d -r fa86759fc6af devel/cmake/Makefile
--- a/devel/cmake/Makefile      Thu Aug 04 08:55:12 2022 +0000
+++ b/devel/cmake/Makefile      Thu Aug 04 09:22:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.195 2022/08/04 08:55:12 adam Exp $
+# $NetBSD: Makefile,v 1.196 2022/08/04 09:22:33 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -10,7 +10,6 @@
 CONFIGURE_SCRIPT=      bootstrap
 
 BUILD_TARGET=          default_target
-INSTALL_TARGET=                install/strip
 
 CONFIGURE_HAS_MANDIR=  no
 CONFIGURE_ARGS+=       --bootstrap-system-libuv
@@ -28,6 +27,10 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${INSTALL_UNSTRIPPED:Uno:tl} != yes
+INSTALL_TARGET=                install/strip
+.endif
+
 # Enforce arm64 to support building inside x86_64 chroots.
 .if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
 CONFIGURE_ENV+=                CMAKE_OSX_ARCHITECTURES=arm64



Home | Main Index | Thread Index | Old Index