pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: rillig
Date: Wed Apr 30 20:35:28 UTC 2025
Modified Files:
pkgsrc/mk: bsd.pkg.debug.mk bsd.pkg.mk
Log Message:
mk: add target "debug-barrier"
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/mk/bsd.pkg.debug.mk
cvs rdiff -u -r1.2058 -r1.2059 pkgsrc/mk/bsd.pkg.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/bsd.pkg.debug.mk
diff -u pkgsrc/mk/bsd.pkg.debug.mk:1.22 pkgsrc/mk/bsd.pkg.debug.mk:1.23
--- pkgsrc/mk/bsd.pkg.debug.mk:1.22 Sun Feb 9 00:00:26 2025
+++ pkgsrc/mk/bsd.pkg.debug.mk Wed Apr 30 20:35:28 2025
@@ -1,12 +1,18 @@
-# $NetBSD: bsd.pkg.debug.mk,v 1.22 2025/02/09 00:00:26 rillig Exp $
+# $NetBSD: bsd.pkg.debug.mk,v 1.23 2025/04/30 20:35:28 rillig Exp $
#
# Public targets:
#
# debug:
-# outputs the values of some commonly used variables and the
+# Outputs the values of some commonly used variables and the
# contents of some files which are useful for tracking bugs,
# especially for packages that use the GNU autotools.
#
+# debug-barrier:
+# Like "debug", but after the pkgsrc barrier.
+#
+# See bsd.pkg.barrier.mk.
+#
+# Keywords: barrier
PRINTF?= printf
@@ -20,6 +26,7 @@ PRINTF?= printf
# character has to be quoted.
.PHONY: \
+ debug-barrier \
debug \
_show-dbginfo-file-versions \
_show-dbginfo-tools \
@@ -30,6 +37,9 @@ PRINTF?= printf
_show-dbginfo-install \
_show-dbginfo-plist-subst
+debug-barrier:
+ ${RUN} _PKGSRC_BARRIER=yes ${MAKE} -f ${MAKEFILE} debug
+
debug: \
_show-dbginfo-file-versions \
_show-dbginfo-tools \
Index: pkgsrc/mk/bsd.pkg.mk
diff -u pkgsrc/mk/bsd.pkg.mk:1.2058 pkgsrc/mk/bsd.pkg.mk:1.2059
--- pkgsrc/mk/bsd.pkg.mk:1.2058 Wed Jan 8 10:19:35 2025
+++ pkgsrc/mk/bsd.pkg.mk Wed Apr 30 20:35:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.2058 2025/01/08 10:19:35 jperkin Exp $
+# $NetBSD: bsd.pkg.mk,v 1.2059 2025/04/30 20:35:28 rillig Exp $
#
# This file is in the public domain.
#
@@ -885,7 +885,7 @@ ${_MAKEVARS_MK.${_phase_}}: ${WRKDIR}
. include "misc/developer.mk"
.endif
.include "misc/show.mk"
-.if make(debug)
+.if make(debug) || make(debug-barrier)
. include "bsd.pkg.debug.mk"
.endif
.include "misc/warnings.mk"
Home |
Main Index |
Thread Index |
Old Index