pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper mk/wrapper: allow "unwrap" to be a no-op SU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f3be40f5c82
branches:  trunk
changeset: 428334:3f3be40f5c82
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Apr 27 05:23:11 2020 +0000

description:
mk/wrapper: allow "unwrap" to be a no-op SUBST block

Discovered in pkgtools/pkg, where libpkg/pkg.pc was left unmodified.

diffstat:

 mk/wrapper/bsd.wrapper.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 2bfb01d99215 -r 3f3be40f5c82 mk/wrapper/bsd.wrapper.mk
--- a/mk/wrapper/bsd.wrapper.mk Mon Apr 27 05:23:10 2020 +0000
+++ b/mk/wrapper/bsd.wrapper.mk Mon Apr 27 05:23:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.wrapper.mk,v 1.101 2019/05/07 19:36:44 rillig Exp $
+# $NetBSD: bsd.wrapper.mk,v 1.102 2020/04/27 05:23:11 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -694,6 +694,7 @@
 .if defined(_WRAPPER_DEBUG) && !empty(_WRAPPER_DEBUG:M[yY][eE][sS])
 _SUBST_KEEP.unwrap=    ${CP} -f "$$file" "$$file.before-unwrap"
 .endif
+SUBST_NOOP_OK.unwrap=  yes # SUBST_SED may be empty
 
 .endif
 ###



Home | Main Index | Thread Index | Old Index