pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/configure



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu May 21 20:50:54 UTC 2020

Modified Files:
        pkgsrc/mk/configure: gnu-configure.mk

Log Message:
mk/configure: add variable GNU_CONFIGURE_QUIET

This allows bulk builds or other setups to see interesting error
messages, without them being hidden in the noise of "checking ...".


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/mk/configure/gnu-configure.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/configure/gnu-configure.mk
diff -u pkgsrc/mk/configure/gnu-configure.mk:1.24 pkgsrc/mk/configure/gnu-configure.mk:1.25
--- pkgsrc/mk/configure/gnu-configure.mk:1.24   Thu May 21 15:29:25 2020
+++ pkgsrc/mk/configure/gnu-configure.mk        Thu May 21 20:50:54 2020
@@ -1,4 +1,4 @@
-# $NetBSD: gnu-configure.mk,v 1.24 2020/05/21 15:29:25 rillig Exp $
+# $NetBSD: gnu-configure.mk,v 1.25 2020/05/21 20:50:54 rillig Exp $
 #
 # Package-settable variables:
 #
@@ -9,6 +9,14 @@
 #      Possible: yes no
 #      Default: undefined
 #
+# GNU_CONFIGURE_QUIET
+#      When set to "yes", runs the configure scripts in quiet mode,
+#      which does not print the typical "checking for ...".
+#
+#      By omitting these, any accidental output or other error messages
+#      are more easily visible in the log.  This can help find
+#      unportable use of tools like sed, awk, test.
+#
 # GNU_CONFIGURE_STRICT
 #      Whether unknown --enable/--disable/--with/--without options make
 #      the package fail immediately.
@@ -209,6 +217,10 @@ GNU_CONFIGURE_STRICT?=     warn
 CONFIGURE_ARGS+=       --enable-option-checking=yes
 .endif
 
+.if ${GNU_CONFIGURE_QUIET:Uno:tl} == yes
+CONFIGURE_ARGS+=       --quiet
+.endif
+
 _SHOW_UNKNOWN_CONFIGURE_OPTIONS_CMD= \
        cd ${WRKSRC}; \
        configures=$$( \



Home | Main Index | Thread Index | Old Index