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:           Sun Apr 28 13:18:18 UTC 2019

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

Log Message:
mk/configure: when there are multiple CONFIGURE_DIRS, print current dir

This helps to find out which of the several configure scripts has
problems, for example when checking for unknown command line options
using GNU_CONFIGURE_STRICT.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/mk/configure/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/configure.mk
diff -u pkgsrc/mk/configure/configure.mk:1.27 pkgsrc/mk/configure/configure.mk:1.28
--- pkgsrc/mk/configure/configure.mk:1.27       Sun Apr 28 11:25:32 2019
+++ pkgsrc/mk/configure/configure.mk    Sun Apr 28 13:18:18 2019
@@ -1,4 +1,4 @@
-# $NetBSD: configure.mk,v 1.27 2019/04/28 11:25:32 rillig Exp $
+# $NetBSD: configure.mk,v 1.28 2019/04/28 13:18:18 rillig Exp $
 #
 # = Package-settable variables =
 #
@@ -206,6 +206,9 @@ _CONFIGURE_SCRIPT_ENV+=     ${CONFIGURE_ENV}
 .PHONY: do-configure-script
 do-configure-script:
 .for _dir_ in ${CONFIGURE_DIRS}
+.  if ${CONFIGURE_DIRS:[#]} != 1
+       ${RUN} ${STEP_MSG} "Running "${CONFIGURE_SCRIPT:Q}" in "${_dir_:Q}
+.  endif
        ${RUN}${_ULIMIT_CMD}                                            \
        cd ${WRKSRC} && cd ${_dir_} &&                                  \
        ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV}                       \



Home | Main Index | Thread Index | Old Index