pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/buildlink3



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Nov 23 11:38:43 UTC 2022

Modified Files:
        pkgsrc/mk/buildlink3: bsd.buildlink3.mk

Log Message:
mk: Limit buildlink message to PKG_DEBUG_LEVEL > 0.

ECHO_BUILDLINK_MSG only echos something if PKG_DEBUG_LEVEL > 0 anyway, so
previously we were invoking a shell for each buildlink3 dependency to do
precisely nothing.


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 pkgsrc/mk/buildlink3/bsd.buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/buildlink3/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.252 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.253
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.252        Wed Nov 23 11:04:42 2022
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk      Wed Nov 23 11:38:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.252 2022/11/23 11:04:42 jperkin Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.253 2022/11/23 11:38:43 jperkin Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -613,7 +613,9 @@ buildlink-directories:
 _BLNK_COOKIE.${_pkg_}=         ${BUILDLINK_DIR}/.buildlink_${_pkg_}_done
 
 _BLNK_TARGETS+=                        buildlink-${_pkg_}
+.if ${PKG_DEBUG_LEVEL} > 0
 _BLNK_TARGETS.${_pkg_}=                buildlink-${_pkg_}-message
+.endif
 _BLNK_TARGETS.${_pkg_}+=       ${_BLNK_COOKIE.${_pkg_}}
 _BLNK_TARGETS.${_pkg_}+=       buildlink-${_pkg_}-cookie
 



Home | Main Index | Thread Index | Old Index